conical_surface_sag
- hcipy.optics.conical_surface_sag(radius_of_curvature, conic_constant=0, fill_value=None)
Makes a Field generator for the surface sag of a conical surface.
The surface profile is defined as:
\[z = \frac{cr^2}{1 + \sqrt{1-\left(1+k\right)c^2r^2}}\]with z the surface sag, c the curvature and k the conic constant.
- Parameters:
- radius_of_curvaturescalar
The radius of curvature of the surface.
- conic_constantscalar
The conic constant of the surface.
- fill_valuescalar or {‘min’, ‘max’} or None
The value with which to replace NaNs. If this is None, no NaNs will be replaced and the original array is returned. If this is either ‘min’ or ‘max’, the NaNs will be replaced by the minimum or maximum of the array respectively.
- Returns:
- Field generator
This function can be evaluated on a grid to get the sag profile.