SurfaceAberration
- class hcipy.optics.SurfaceAberration(pupil_grid, ptv, diameter, exponent=-2.5, refractive_index=-1, aperture=None, remove_modes=None)
Bases:
SurfaceApodizer
A surface aberration with a specific power law.
- Parameters:
- pupil_gridGrid
The grid on which the incoming wavefront is defined.
- ptvscalar
The peak-to-valley of the wavefront aberration in meters.
- diameterscalar
The diameter over which the ptv is calculated.
- exponentscalar
The exponent of the power law.
- refractive_indexscalar
The refractive index of the surface for which this is the surface error. The default is a mirror surface.
- apertureField
The mask over which to calculate the ptv. A circular aperture with diameter diameter is used if this is not given.
- remove_modesModeBasis
The modes which to remove from the surface aberration. The peak-to-valley is enforced before these modes are removed. This allows for correcting surface errors with optic alignment.