visisipy.optiland.analysis.zernike_coefficients#
Zernike coefficients analysis for Optiland.
Functions#
Calculate the Zernike standard coefficients at the retina surface. |
Module Contents#
- visisipy.optiland.analysis.zernike_coefficients.zernike_standard_coefficients(backend: type[visisipy.optiland.backend.OptilandBackend], field_coordinate: visisipy.backend.FieldCoordinate | None = None, wavelength: float | None = None, field_type: visisipy.backend.FieldType = 'angle', sampling: visisipy.types.SampleSize | str | int = 64, maximum_term: int = 45) tuple[visisipy.wavefront.ZernikeCoefficients, optiland.wavefront.ZernikeOPD]#
Calculate the Zernike standard coefficients at the retina surface.
Parameters#
- backendtype[OptilandBackend]
Reference to the Optiland backend.
- field_coordinatetuple[float, float] | None, optional
The field coordinate for the Zernike calculation. When None, the first field in OpticStudio is used. Defaults to None.
- wavelengthfloat | None, optional
The wavelength for the Zernike calculation. When None, the first wavelength in OpticStudio is used. Defaults to None.
- field_typeLiteral[“angle”, “object_height”], optional
The type of field to be used when setting the field coordinate. This parameter is only used when field_coordinate is specified. Defaults to “angle”.
- samplingSampleSize | str | int, optional
The sampling for the Zernike calculation. Defaults to 512.
- maximum_termint, optional
The maximum term for the Zernike calculation. Defaults to 45.
Returns#
- AttrDict
ZOSPy Zernike standard coefficients analysis output.