fouriax.ThinLens#
- class ThinLens(focal_length_um, aperture_diameter_um=None)#
Bases:
OpticalLayerIdeal thin lens applying a hyperbolic optical-path phase delay.
- Parameters:
focal_length_um (float)
aperture_diameter_um (float | None)
- __init__(focal_length_um, aperture_diameter_um=None)#
- Parameters:
focal_length_um (float)
aperture_diameter_um (float | None)
- Return type:
None
Methods
__init__(focal_length_um[, aperture_diameter_um])forward(field)Apply this layer's optical transformation to
field.Return trainable or configurable layer parameters.
validate_for(field)Check that field is compatible with this layer.
Attributes
- focal_length_um: float#
- aperture_diameter_um: float | None = None#
- forward(field)#
Apply this layer’s optical transformation to
field.
- parameters()#
Return trainable or configurable layer parameters.
Returns an empty dict by default. Subclasses override this to expose arrays that should be updated during optimisation.
- Return type:
dict[str, Array]