harmonicfringes

jwst.ami.analyticnrm2.harmonicfringes(fov, pitch, baseline, lam, oversample, affine2d, psf_offset=(0, 0))[source]

Calculate the sine and cosine fringes.

This is in image space and, for later versions, this works in the oversampled space that is each slice of the model.

Parameters:
fovint, default=None

Number of detector pixels on a side

pitchfloat

Sampling pitch in radians in image plane

baseline2D float array

Hole centers vector, units of meters.

lamfloat

Wavelength in meters.

oversampleint

Number of samples per detector pixel pitch

affine2dAffine2d object

The affine2d object

psf_offset2D float array, optional

Offset from image center in detector pixels, default is (0,0).

Returns:
(cosine_fringes, sine_fringes)tuple

Sine and cosine fringes: float arrays