Skip to content

Commit

Permalink
Add config and dataset for PTC task and metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
mfisherlevine authored and plazas committed Aug 30, 2019
1 parent a2cef88 commit 07521e1
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
20 changes: 20 additions & 0 deletions config/measurePhotonTransferCurve.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
import os.path
from lsst.utils import getPackageDir

config.load(os.path.join(getPackageDir("obs_lsst"), "config", "lsstCamCommon.py"))
config.isr.load(os.path.join(getPackageDir("obs_lsst"), "config", "isr.py"))

config.ccdKey = 'detector'

config.isr.doFlat = False
config.isr.doFringe = False
config.isr.doCrosstalk = False
config.isr.doAddDistortionModel = False
config.isr.doUseOpticsTransmission = False
config.isr.doUseFilterTransmission = False
config.isr.doUseSensorTransmission = False
config.isr.doUseAtmosphereTransmission = False
config.isr.doAttachTransmissionCurve = False

config.isr.doSaturation = False # critical for the turnover of the PTC to get the variance right
config.isr.doSaturationInterpolation = False
4 changes: 4 additions & 0 deletions policy/lsstCamMapper.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -399,6 +399,10 @@ datasets:
template: calibrations/bfGain-%(detector)03d.pkl
plotBrighterFatterPtc:
template: plots/bfPtc-ccd-%(detector)03d-amp-%(amp)s.png
measurePhotonTransferCurve_metadata:
template: measurePhotonTransferCurves_metadata/%(detector)03d.yaml
measurePhotonTransferCurveDataset:
template: calibrations/ptc/ptcData-det%(detector)03d.pkl
plotCoadd:
persistable: None
python: builtins.str
Expand Down

0 comments on commit 07521e1

Please sign in to comment.