./
ramp_getron.pro
This procedure creates a 2-D RON map by subtracting from a dark current ramp the linear fit, and estimating the residuals stdev for each pixel
top source RAMP_GETRON
JWST Data Processing - NIRCam Cryo tests
RAMP_GETRON, data0, fit_params, RON
Creates a RON map subtracting from a dark current ramp the linear fit and estimating the residuals stdev for each pixel
Parameters
- data0 in required type=fltarr(2048,2048,Ngroup)
ramp datacube to be analyzed
- fit_params in required type=fltarr(2048,2048,2)
Two arrays with the intercept and slope derived from the linear fit
- RON out required type=fltarr(2048,2048)
2-D array with thre RON map :File Comments: Given a ramp, this procedure removes, for each pixel, the intercept/slope value from the linear fit. This makes the ramp, for each pixel, a zero average stack. In other words, one subtracts bias and dark current from the signal. Then take the stdev of the zero average ramp to get the RON
Examples
IDL> RAMP_GETRON,data0,fit_params,RON
Author information
- Author:
M. Robberto, created 25 Apr. 201
Statistics
Lines: | 29 lines |
McCabe complexity: | 3 |
File attributes
Modification date: | Fri May 3 17:15:22 2013 |
Lines: | 55 |