WavefrontError

class poppy.WavefrontError(**kwargs)[source]

Bases: AnalyticOpticalElement

A base class for different sources of wavefront error

Analytic optical elements that represent wavefront error should derive from this class and override methods appropriately. Defined to be a pupil-plane optic.

Methods Summary

get_opd(wave)

Construct the optical path difference array for a wavefront error source as evaluated across the pupil for an input wavefront wave

peaktovalley()

Peak-to-valley wavefront error induced by this surface

rms()

RMS wavefront error induced by this surface

Methods Documentation

get_opd(wave)[source]

Construct the optical path difference array for a wavefront error source as evaluated across the pupil for an input wavefront wave

Parameters:
waveWavefront

Wavefront object with a coordinates method that returns (y, x) coordinate arrays in meters in the pupil plane

peaktovalley()[source]

Peak-to-valley wavefront error induced by this surface

rms()[source]

RMS wavefront error induced by this surface