{'fraction_non_alphanumeric': 0.010416666666666666, 'fraction_numerical': 0.0, 'mean_word_length': 5.503759398496241, '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}}
Quasinormal-mode analysis of grating spectra at fixed incidence angles.

Grating spectra exhibit sharp variations of the scattered light, known as grating anomalies. The latter are due to resonances that have fascinated specialists of optics and physics for decades and are today used in many applications. We present a comprehensive theory of grating anomalies and develop a formalism to expand the field scattered by metallic or dielectric gratings into the basis of its natural resonances, thereby enabling the possibility to reconstruct grating spectra measured for fixed illumination angles as a sum over every individual resonance contribution with closed-form expressions. This gives physical insights into the spectral properties and direct access to the resonances to engineer the spectral response of gratings and their sensitivity to tiny perturbations.