psf
- jwst.ami.analyticnrm2.psf(detpixel, fov, oversample, ctrs, d, lam, phi, psf_offset, affine2d, shape='circ')[source]
Calculate the PSF for the requested aperture shape.
- Parameters:
- detpixelfloat
Pixel scale
- fovint
Number of detector pixels on a side
- oversampleint
Oversampling factor
- ctrs2D float array
Centers of holes
- dfloat
Hole diameter for ‘circ’; flat-to-flat distance across for ‘hex’
- lamfloat
Wavelength
- phifloat
Distance of fringe from hole center in units of waves
- psf_offset2D float array
Offset from image center in detector pixels
- affine2dAffine2d object
The affine2d object
- shapestr
Shape of hole; possible values are ‘circ’, ‘circonly’, ‘hex’, ‘hexonly’, ‘fringeonly’
- Returns:
- PSF2D float array
The point-spread function