SineWaveWFE

class poppy.SineWaveWFE(name='Sine WFE', spatialfreq=1.0, amplitude=1e-06, phaseoffset=0, **kwargs)[source]

Bases: WavefrontError

A single sine wave ripple across the optic

Specified as a a spatial frequency in cycles per meter, an optional phase offset in cycles, and an amplitude.

By default the wave is oriented in the X direction. Like any AnalyticOpticalElement class, you can also specify a rotation parameter to rotate the direction of the sine wave.

(N.b. we intentionally avoid letting users specify this in terms of a spatial wavelength because that would risk potential ambiguity with the wavelength of light.)

Methods Summary

get_opd(wave)

Parameters:

Methods Documentation

get_opd(wave)[source]
Parameters:
wavepoppy.Wavefront (or float)

Incoming Wavefront before this optic to set wavelength and scale, or a float giving the wavelength in meters for a temporary Wavefront used to compute the OPD.