IsrMockConfig#
- class lsst.ip.isr.IsrMockConfig(*args, **kw)#
Bases:
ConfigConfiguration parameters for isrMock.
These parameters produce generic fixed position signals from various sources, and combine them in a way that matches how those signals are combined to create real data. The camera used is the test camera defined by the afwUtils code.
Attributes Summary
Background contribution to be generated from the bias offset in adu.
Type of calibration to generate if doGenerateData=True, otherwise ignored.
Background level contribution (in electron/s) to be generated from dark current.
Exposure time for the dark current contribution.
Index for the detector to use.
Add bias signal to data.
Apply simulated crosstalk to output image.
Add dark signal to data.
Add flat signal to data.
Add fringe signal to data.
If untrimmed, add overscan ramp to overscan and data regions.
Apply 'sky' signal to output image.
Add simulated source to output image.
Return a simulated brighter-fatter kernel.
Return the matrix of crosstalk coefficients.
Return a simulated gen2 butler dataRef.
Return a simulated defect list.
Return a simulated deferred charge calibration.
Return a dict of exposure amplifiers instead of an afwImage.Exposure.
Return a non-image data structure if True.
Return the generated output image if True.
Return linearizer dataset.
Return a simulated transmission curve.
Exposure time for simulated data.
Fractional flux drop due to flat from center to edge of detector along x-axis.
Peak fluxes for the components of the fringe ripple in adu (IsrTask) or electron (IsrTaskLSST).
Center position for the fringe ripples.
Center position for the fringe ripples.
Gain for simulated data in electron/adu.
If True, products have one raw image per amplifier, otherwise, one raw image per detector.
If True, amplifiers have been trimmed and mosaicked to remove regions outside the data BBox.
Amplitude of the ramp function to add to overscan data in adu (IsrTask) or electron (IsrTaskLSST) (
float, default100.0)Plate scale used in constructing mock camera.
Radial distortion term used in constructing mock camera.
Read noise of the detector in electron.
Seed for random number generator used to add noise.
Background contribution to be generated from 'the sky' in adu (IsrTask) or electron (IsrTaskLSST).
Amplifier to place simulated 'astronomical sources'.
Peak flux level of simulated 'astronomical sources' in adu (IsrTask) or electron (IsrTaskLSST).
Peak position (in amplifier coordinates) of simulated 'astronomical sources'.
Peak position (in amplifier coordinates) of simulated 'astronomical sources'.
Attributes Documentation
- biasLevel#
Background contribution to be generated from the bias offset in adu. (
float, default8000.0)
- brighterFatterCalibType#
Type of calibration to generate if doGenerateData=True, otherwise ignored. (
str, default'KERNEL')Allowed values:
'KERNEL'No default suspect values; only config overrides will be used.
'ELECTROSTATIC'Use the default from the camera model (old defaults).
'None'Field is optional
- darkRate#
Background level contribution (in electron/s) to be generated from dark current. (
float, default5.0)
- darkTime#
Exposure time for the dark current contribution. (
float, default5.0)
- detectorIndex#
Index for the detector to use. The default value uses a standard 2x4 array of amps. (
int, default20)
- doAddBias#
Add bias signal to data. (
bool, defaultTrue)
- doAddCrosstalk#
Apply simulated crosstalk to output image. This cannot be corrected by ISR, as detector.hasCrosstalk()==False. (
bool, defaultFalse)
- doAddDark#
Add dark signal to data. (
bool, defaultTrue)
- doAddFlat#
Add flat signal to data. (
bool, defaultTrue)
- doAddFringe#
Add fringe signal to data. (
bool, defaultTrue)
- doAddOverscan#
If untrimmed, add overscan ramp to overscan and data regions. (
bool, defaultTrue)
- doAddSky#
Apply ‘sky’ signal to output image. (
bool, defaultTrue)
- doAddSource#
Add simulated source to output image. (
bool, defaultTrue)
- doBrighterFatter#
Return a simulated brighter-fatter kernel. (
bool, defaultFalse)
- doCrosstalkCoeffs#
Return the matrix of crosstalk coefficients. (
bool, defaultFalse)
- doDataRef#
Return a simulated gen2 butler dataRef. (
bool, defaultFalse)
- doDefects#
Return a simulated defect list. (
bool, defaultFalse)
- doDeferredCharge#
Return a simulated deferred charge calibration. (
bool, defaultFalse)
- doGenerateAmpDict#
Return a dict of exposure amplifiers instead of an afwImage.Exposure. (
bool, defaultFalse)
- doGenerateData#
Return a non-image data structure if True. (
bool, defaultFalse)
- doGenerateImage#
Return the generated output image if True. (
bool, defaultFalse)
- doLinearizer#
Return linearizer dataset. (
bool, defaultFalse)
- doTransmissionCurve#
Return a simulated transmission curve. (
bool, defaultFalse)
- expTime#
Exposure time for simulated data. (
float, default5.0)
- flatDrop#
Fractional flux drop due to flat from center to edge of detector along x-axis. (
float, default0.1)
- fringeScale#
Peak fluxes for the components of the fringe ripple in adu (IsrTask) or electron (IsrTaskLSST). (
List, default[200.0])
- fringeX0#
Center position for the fringe ripples. (
List, default[-100])
- fringeY0#
Center position for the fringe ripples. (
List, default[0])
- gain#
Gain for simulated data in electron/adu. (
float, default1.0)
- isLsstLike#
If True, products have one raw image per amplifier, otherwise, one raw image per detector. (
bool, defaultFalse)
- isTrimmed#
If True, amplifiers have been trimmed and mosaicked to remove regions outside the data BBox. (
bool, defaultTrue)
- overscanScale#
Amplitude of the ramp function to add to overscan data in adu (IsrTask) or electron (IsrTaskLSST) (
float, default100.0)
- plateScale#
Plate scale used in constructing mock camera. (
float, default20.0)
- radialDistortion#
Radial distortion term used in constructing mock camera. (
float, default0.925)
- readNoise#
Read noise of the detector in electron. (
float, default5.0)
- rngSeed#
Seed for random number generator used to add noise. (
int, default20000913)
- skyLevel#
Background contribution to be generated from ‘the sky’ in adu (IsrTask) or electron (IsrTaskLSST). (
float, default1000.0)
- sourceAmp#
Amplifier to place simulated ‘astronomical sources’. (
List, default[0])
- sourceFlux#
Peak flux level of simulated ‘astronomical sources’ in adu (IsrTask) or electron (IsrTaskLSST). (
List, default[45000.0])
- sourceX#
Peak position (in amplifier coordinates) of simulated ‘astronomical sources’. (
List, default[50.0])
- sourceY#
Peak position (in amplifier coordinates) of simulated ‘astronomical sources’. (
List, default[25.0])