{'fraction_non_alphanumeric': 0.031096563011456628, 'fraction_numerical': 0.0, 'mean_word_length': 6.116279069767442, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
On‐axis shaping of second‐harmonic beams

We report complete spatial shaping (both phase and amplitude) of the second‐harmonic beam generated in a nonlinear photonic crystal. Using a collinear second‐order process in a nonlinear computer generated hologram imprinted on the crystal, the desired beam is generated on‐axis and in the near field. This enables compact and efficient one‐dimensional beam shaping in comparison to previously demonstrated off‐axis Fourier holograms. We experimentally demonstrate the second‐harmonic generation of high‐order Hermite–Gauss, top hats and arbitrary skyline‐shaped beams.