The provided code is part of the Supplementary Material of the article "Analytical calculation of plasmonic resonances in metal nanoparticles: a simple guide" (Locarno et al., DOI: https://doi.org/10.1119/5.0094967)
field_enhancement.lsf - Lumerical script to simulate the results of Fig. 5
field_enhancement_plot.py - Python code to generate the color maps in Fig. 5
cross_sections.lsf - Lumerical script to simulate the cross sections of Fig. 7
graph_generator_supplInfor.py - Python code to generate Figs. 4, 6 and 7
The authors authorize the free use and adaptation of this code for non-commercial purposes at the condition that it gets properly cited and acknowledged.