finesse.utilities.aberrations.spherical_surface

finesse.utilities.aberrations.spherical_surface(X, Y, R, degrees=0)[source]

Computes the spherical height (sagitta) for a spherical mirror normal incidence. Will return NaNs for regions in X**2+Y**2 > R**2.

Parameters
X, Y[array_like| float]

Coordinates to compute surface at

Rfloat

Radius of curvature

degreesfloat

Angle of incidence in degrees

Returns
Z[array_like|float]

Height of the spherical surface

Notes

Coorindate system used is left-handed with positive R being in the +z direction. Formula is from equation 29 in [34].