phasor
- jwst.ami.analyticnrm2.phasor(kx, ky, hx, hy, lam, phi_m, pitch, affine2d)[source]
Calculate the wavefront for a single hole.
This routine returns the complex amplitude array of fringes phi to units of meters, which is more physical for broadband simulations.
- Parameters:
- kx, kyfloat
Image plane coords in units of sampling pitch (oversampled, or not)
- hx, hyfloat
Hole centers in meters
- lamfloat
Wavelength
- phi_mfloat
Distance of fringe from hole center in units of meters
- pitchfloat
Sampling pitch in radians in image plane
- affine2dAffine2d object
The affine2d object
- Returns:
- phasorcomplex
Calculate wavefront for a single hole