Skip to content

Commit

Permalink
Remove duplicated configs by loading processCcd.py
Browse files Browse the repository at this point in the history
  • Loading branch information
erykoff committed Apr 11, 2019
1 parent abeb027 commit 5610ccb
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 13 deletions.
11 changes: 4 additions & 7 deletions config/imsim/singleFrameDriver.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,9 @@
# see <http://www.lsstcorp.org/LegalNotices/>.
#

config.processCcd.isr.doCrosstalk=True
import os.path

from lsst.utils import getPackageDir

# Additional configs for star+galaxy ref cats now that DM-17917 is merged
config.processCcd.calibrate.astrometry.referenceSelector.doUnresolved = True
config.processCcd.calibrate.astrometry.referenceSelector.unresolved.name = 'resolved'
config.processCcd.calibrate.astrometry.referenceSelector.unresolved.minimum = None
config.processCcd.calibrate.astrometry.referenceSelector.unresolved.maximum = 0.5

config.processCcd.load(os.path.join(getPackageDir("obs_lsst"), "config",
"imsim", "processCcd.py"))
10 changes: 4 additions & 6 deletions config/phosim/singleFrameDriver.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,9 @@
# see <http://www.lsstcorp.org/LegalNotices/>.
#

config.processCcd.isr.doCrosstalk=True
import os.path

# Additional configs for star+galaxy ref cats now that DM-17917 is merged
config.processCcd.calibrate.astrometry.referenceSelector.doUnresolved = True
config.processCcd.calibrate.astrometry.referenceSelector.unresolved.name = 'resolved'
config.processCcd.calibrate.astrometry.referenceSelector.unresolved.minimum = None
config.processCcd.calibrate.astrometry.referenceSelector.unresolved.maximum = 0.5
from lsst.utils import getPackageDir

config.processCcd.load(os.path.join(getPackageDir("obs_lsst"), "config",
"phosim", "processCcd.py"))

0 comments on commit 5610ccb

Please sign in to comment.