Skip to content

Commit

Permalink
Merge branch 'tickets/DM-19709'
Browse files Browse the repository at this point in the history
  • Loading branch information
mfisherlevine committed Aug 8, 2019
2 parents ce492fc + 768dfde commit 929d6f2
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
23 changes: 23 additions & 0 deletions config/findDefects.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
import os.path
from lsst.utils import getPackageDir

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

config.ccdKey = 'detector'

# the default is False as most obs_packages don't have runs, but LSST does
# and when runs are present the default behavior should be to ensure
# that only data from within a run is processed together
config.assertSameRun = True

# none of the calibration products exists to perform these yet
for config in [config.isrForDarks, config.isrForFlats]:
config.doCrosstalk = False
config.doAddDistortionModel = False
config.doUseOpticsTransmission = False
config.doUseFilterTransmission = False
config.doUseSensorTransmission = False
config.doUseAtmosphereTransmission = False
config.doAttachTransmissionCurve = False
8 changes: 8 additions & 0 deletions policy/lsstCamMapper.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -463,3 +463,11 @@ datasets:
storage: FitsStorage
tables: raw
template: binned_sensor/%(dstype)s-v%(visit)08d/%(raftName)s/%(detectorName)s_%(half)s.fits
newDefects:
level: Ccd
persistable: lsst.meas.algorithms.Defects
python: lsst.meas.algorithms.Defects
storage: FitsStorage
tables:
- raw
template: calibrations/defects/defects-det%(detector)03d.fits

0 comments on commit 929d6f2

Please sign in to comment.