SurfaceAberrationAtDistance
- class hcipy.optics.SurfaceAberrationAtDistance(surface_aberration, distance)
- Bases: - OpticalElement- A surface at a certain distance from the current plane. - Light is propagated to this surface, then the surface errors are applied, and afterwards the light is propagated back towards the original plane. This allows for easy addition of surface errors on lenses, while still retaining the Fraunhofer propagations in between focal and pupil planes. - Parameters:
- surface_aberrationOpticalElement
- The optical element describing the surface aberration. 
- distancescalar
- The distance from the current plane. 
 
 - Methods Summary - backward(wavefront)- Propagate a wavefront backwards through the surface aberration. - forward(wavefront)- Propagate a wavefront forwards through the surface aberration. - Methods Documentation - backward(wavefront)
- Propagate a wavefront backwards through the surface aberration. - Parameters:
- wavefrontWavefront
- The incoming wavefront. 
 
- Returns:
- Wavefront
- The wavefront before the surface aberration. This wavefront is given at the same plane as wavefront. 
 
 
 - forward(wavefront)
- Propagate a wavefront forwards through the surface aberration. - Parameters:
- wavefrontWavefront
- The incoming wavefront. 
 
- Returns:
- Wavefront
- The wavefront after the surface aberration. This wavefront is given at the same plane as wavefront.