LP11 Mode Detector#

This example demonstrates the initialization and visualization of an LP11 Mode detector using PyMieSim.

Importing the package: PyMieSim

from PyMieSim.single.detector import CoherentMode
from PyMieSim.units import AU, degree

Initializing the detector

detector = CoherentMode(
    mode_number="LP11",  # Specifying LP11 mode
    sampling=300 * AU,  # Number of sampling points
    NA=0.3 * AU,  # Numerical Aperture
    gamma_offset=0 * degree,  # Gamma offset
    phi_offset=30 * degree,  # Phi offset in degrees
)

Plotting the detector

detector.plot()
LP11

Total running time of the script: (0 minutes 0.181 seconds)

Gallery generated by Sphinx-Gallery