Skip to content

Commit

Permalink
Add default ISR configurations.
Browse files Browse the repository at this point in the history
  • Loading branch information
czwa committed Sep 2, 2018
1 parent 915e3cf commit 188e55e
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 3 deletions.
6 changes: 6 additions & 0 deletions config/isr.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
"""
ctio0m9-specific overrides for isrTask
"""
config.doFlat = False # TODO: change for release/when we have flats
config.doLinearize = False
config.doDefect = False # TODO: make defect list and enable
10 changes: 10 additions & 0 deletions config/isrWrap.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
"""
ctio0m9-specific overrides for isrWrapperTask
"""
import os.path

from lsst.utils import getPackageDir

ObsConfigDir = os.path.join(getPackageDir("obs_ctio0m9"), "config")

config.isr.load(os.path.join(ObsConfigDir, "isr.py"))
11 changes: 8 additions & 3 deletions config/processCcd.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,17 @@
"""
ctio0m9-specific overrides for ProcessCcdTask
"""
from __future__ import print_function
import os.path
from lsst.meas.algorithms import LoadIndexedReferenceObjectsTask
from lsst.meas.astrom import MatchPessimisticBTask
from lsst.utils import getPackageDir

ObsConfigDir = os.path.join(getPackageDir("obs_ctio0m9"), "config")

PIXEL_MARGIN = 2000 # to ensure they're linked, as per DM-11356

config.isr.doFlat = False # TODO: change for release/when we have flats
config.isr.doLinearize = False
config.isr.doDefect = False # TODO: make defect list and enable
config.isr.load(os.path.join(ObsConfigDir, "isr.py"))

config.charImage.repair.cosmicray.nCrPixelMax = 100000

Expand Down

0 comments on commit 188e55e

Please sign in to comment.