{'fraction_non_alphanumeric': 0.026246719160104987, 'fraction_numerical': 0.007874015748031496, 'mean_word_length': 5.358333333333333, '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}}
Near-diffraction-limited flattop laser beam adaptively generated by stochastic parallel gradient descent algorithm.

We demonstrate the adaptive generation of a near-diffraction-limited flattop laser beam in the near field based on the stochastic parallel gradient descent algorithm and dual-phase-only liquid crystal spatial light modulators (LC-SLMs). One LC-SLM redistributes the intensity, and the other compensates the wavefront of the output beam. The experimental results show that approximately 69% of the power is enclosed in a region with less than 6% rms intensity variation. The 5mm diameter near-diffraction-limited output beam retains a flattop intensity distribution without significant diffraction peaks for a working distance of more than 30 cm.