{'fraction_non_alphanumeric': 0.02700675168792198, 'fraction_numerical': 0.007501875468867217, 'mean_word_length': 4.4227642276422765, '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}}
Optical attenuator based on phase modulation of a spatial light modulator

In this Letter, we propose an optical attenuator based on the phase modulation of a spatial light modulator(SLM). In this system, we use two polarized beam splitters(PBSs) to control the polarized light and one SLM to modulate the phase of the polarized light. In the initial state, the light beam is divided into p-light and s-light when it passes through the first PBS. When the light passes through the second PBS, s-light is reflected and p-light is detected by the CCD camera. By loading different grayscales on the SLM, p-light changes its polarized state to s-light. The light power can be attenuated during the loading process. Our experiment shows that the system can obtain a wide optical attenuation from 1–27.2 d B. When loading two grayscales,the SLM has a fast switching time of 25 ms under a low actuated voltage of 5.5 V. The response time of the optical attenuator depends on the switching time of the SLM. Therefore, the system can also have a fast response time. By using the method of spatial multiplexing and adding two mirrors in the system, it can also be extended into a 1 × 2 optical switch. The results verify its feasibility. The optical attenuator has wide applications in photonic signal processing and fiber-optic communication.