jinc
- jwst.ami.analyticnrm2.jinc(x, y, d, lam, pitch, offx=0.0, offy=0.0)[source]
Compute 2d Jinc for given coordinates.
- Parameters:
- x, yfloat, float
Input coordinates
- dfloat
Hole diameter
- lamfloat
Wavelength
- pitchfloat
Sampling pitch in radians in image plane
- offx, offyfloat, float
Offsets from image center in detector pixels
- Returns:
- jinc_2dfloat array
2d jinc at the given coordinates, with NaNs replaced by pi/4.