{'fraction_non_alphanumeric': 0.009473684210526316, 'fraction_numerical': 0.002105263157894737, 'mean_word_length': 5.298013245033113, '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}}
Design and optimization of long period fiber grating devices for sensing applications by using python

In this paper, for the first time Python was used to model the long period fibre grating devices and simulate the light propagating in the waveguide structures in order to design and optimize LPFG devices for sensing applications. It begin with resolving the effective refractive index of the LP01 core mode and different cladding modes, followed by calculating the mode electric and magnetic fields to determine the strength of coupling for core mode as well as between core mode and different cladding modes. After then, the transmission power spectrum within typical telecommunication wavelengths range was plotted. The spectrums and the wavelength shift under different surrounding refractive index was then plotted to analyze the SRI sensitivity of LPFG devices. Eventually, the results of Python and MATLAB will be compared for verification.