pynrc.nrc_utils¶
pyNRC utility functions
Functions
|
Rebin spectrum |
|
Create coronagraphic mask image |
|
Create mask image for a given detector |
|
Select wavelength channel |
|
Coronagraph mask aperture locations and sizes |
|
Return detector name for a given coronagraphic mask, module, and channel. |
|
Build a transmission image of a coronagraphic mask spanning the 20" coronagraphic FoV. |
|
Create an unconvolved image with sub-pixel shifts |
|
Return NRC[A-B][1-5] for valid detector/SCA IDs |
|
Returns a 1D array of grism Zodiacal/thermal background emission model, including roll-off from pick-off mirror (POM) edges. |
|
|
|
Create full grism background image |
|
Create slope image |
|
Attempt to estimate a reasonable number of processes to use for multiple simultaneous convolve_fft calculations. |
|
Bar mask offset locations |
|
Create an unconvolved image of filled pixel values that have been shifted via bilinear interpolation. |
|
Return pickoff mirror FoV x/y limits in terms of science pixel coordinates |
|
Noise per pixel |
|
Create spectral image and place ref wavelenght at (x,y) location |
|
Shift image such that undeviated wavelength sits at the SIAF aperture reference location. |
|
Variance Excess Model |
|
IPAC Euclid Background Model |
|
Zodiacal light spectrum. |