Skip to content

Thin Lens

svetlanna.elements.ThinLens

ThinLens(
    simulation_parameters: SimulationParameters,
    focal_length: OptimizableFloat,
    radius: float = inf,
)

Bases: Element

Thin lens element.

Parameters:

  • simulation_parameters (SimulationParameters) –

    Simulation parameters.

  • focal_length (OptimizableFloat) –

    The focal length of the lens. \(\text{focal\_length} > 0\) for a converging lens.

  • radius (float, default: inf ) –

    The radius of the thin lens. The field outside the radius (\(x^2 + y^2 > \text{radius}^2\)) will propagate with no change in phase. Default is infinity, meaning that the lens has no aperture and the field will propagate with a phase change everywhere.

transmission_function property

transmission_function: Tensor

The tensor representing the transmission function of the element \(\exp\left(-i \dfrac{k}{2f} (x^2 + y^2)\right)\), where \(k\) is the wave number and \(f\) is the focal length. The radius of the lens is taken into account. The shape of the tensor is broadcastable to the incident wavefront's shape.