pynrc.simul.ngNRC¶
ngNRC - NIRCam Detector Noise Simulator
Modification History:
- Nov 2021
Auto-generate source tables from Gaia DR2 or Simbad queries
Add WFE drifts.
- Oct 2021
Use numpy random number generator objects to produce repeatable results.
- Sept 2021
Major refactor, splitting out slope_to_level1b and slope_to_fitswriter
Added linearity, flat fields, and cosmic rays
- Apr 2021
Deprecate nghxrg, SCANoise, and slope_to_ramp
Instead use slope_to_ramps
- Oct 2020
Restructure det noise and ramp creation
DMS simulations using JWST pipeline data models
- Feb 2017
Add ngNRC to pyNRC code base
- Aug 2016, J.M. Leisenring, UA/Steward
Modified how the detector and multiaccum info is handled
Copied detector and multiaccum classes from pyNRC
In the future, we will want to integrate this directly so that any changes made in the pyNRC classes are accounted.
- July 2016, J.M. Leisenring, UA/Steward
Updated many things and more for nghxrg (v3.0)
- Feb 2016, J.M. Leisenring, UA/Steward
First Release
Functions
|
Add RTN Column Noise |
|
Add random cosmic rays to data cube |
|
Convolve image with IPC kernel |
|
Add Post-Pixel Coupling (PPC) |
|
Add amplifier crosstalk to each frame in data cube |
|
Apply flat field |
|
Generate Level1b DMS-like FITS files. |
|
Random Noise from Power Spectrum |
|
Generate RTN Column Noise |
|
Assumes a constant dark current rate, either in image form or single value. |
|
Generate a ramp of bias offsets |
|
Create WFE drift information over time |
|
Create source table from GAIA DR2 query |
|
Create a ramp with only photon noise. |
|
|
|
Generate random pink noise |
|
Save slope image as Level1b-like FITS |
|
Simulate a dark current ramp based on input det class and a super dark image. |
|
Simulate an image ramp based on input det class and slope image. |
|
Simulate Noise Ramp |
|
Return a single simulated ramp |
|
Simulate HDUList from slope image |
|
Simulate DMS HDUList from slope image |
|
Simulate DMS HDUList from slope image |
|
Create a slope image from a table or sources |
|
Create image of crosstalk signal |