Radial Phase

This notebook demonstrates how to create a surface with a radial grating phase profile.

[1]:
from optiland.optic import Optic
import optiland.backend as be
from optiland.phase import RadialPhaseProfile
[2]:
optic = Optic()
optic.surfaces.add(index=0, radius=be.inf, thickness=be.inf)

phase_profile = RadialPhaseProfile(coefficients=[-60, 0.01])

optic.surfaces.add(
    index=1,
    phase_profile=phase_profile,
    is_stop=True,
    material="SF2",
    thickness=10.0,
)

optic.surfaces.add(index=2, thickness=110.0)
optic.surfaces.add(index=3)

optic.wavelengths.add(0.55)
optic.fields.set_type("angle")
optic.fields.add(0)
optic.set_aperture("EPD", 50.0)

_ = optic.draw(wavelengths=[0.45, 0.55, 0.65], num_rays=3)
../../_images/gallery_phase_radial_grating_2_0.png