model_array
- jwst.ami.analyticnrm2.model_array(ctrs, lam, oversample, pitch, fov, d, psf_offset=(0, 0), phi=None, shape='circ', affine2d=None)[source]
Create a model using the specified wavelength.
- Parameters:
- ctrs2D float array
Centers of holes
- lamfloat
Wavelength in the bandpass for this particular model
- oversampleint
Oversampling factor
- pitchfloat
Sampling pitch in radians in image plane
- fovint
Number of detector pixels on a side.
- dfloat
Hole diameter for ‘circ’; flat to flat distance for ‘hex
- psf_offset2D int array
Offset from image center in detector pixels
- phifloat
Distance of fringe from hole center in units of waves
- shapestr
Shape of hole; possible values are ‘circ’, ‘hex’, and ‘fringe’
- affine2dAffine2d object
The affine2d object
- Returns:
- primary_beamfloat 2D array
Array of primary beam,
- ffmodellist of fringe arrays
List of fringe arrays