-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
55 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,6 @@ | ||
# Config override for lsst.ap.pipe.ApPipeTask | ||
import os.path | ||
from lsst.utils import getPackageDir | ||
|
||
decamConfigDir = os.path.join(getPackageDir('obs_decam'), 'config') | ||
decamConfigDir = os.path.dirname(__file__) | ||
|
||
# This default processCcd config assumes calibration products are from the | ||
# DECam Community Pipeline (CP). The config file to use for stack-built | ||
# calibs is "processCcd.py" instead. | ||
config.ccdProcessor.load(os.path.join(decamConfigDir, "processCcdCpIsr.py")) | ||
config.ccdProcessor.load(os.path.join(decamConfigDir, "processCcd.py")) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
""" | ||
DECam-specific overrides for CalibrateTask | ||
""" | ||
|
||
# This sets the reference catalog name for Gen2. | ||
for refObjLoader in (config.astromRefObjLoader, | ||
config.photoRefObjLoader, | ||
): | ||
refObjLoader.ref_dataset_name = "ps1_pv3_3pi_20170110" | ||
# Note the u-band results may not be useful without a color term | ||
refObjLoader.filterMap['u'] = 'g' | ||
refObjLoader.filterMap['Y'] = 'y' | ||
|
||
# This sets up the reference catalog for Gen3. | ||
config.connections.astromRefCat = "ps1_pv3_3pi_20170110" | ||
config.connections.photoRefCat = "ps1_pv3_3pi_20170110" | ||
config.photoCal.photoCatName = "ps1_pv3_3pi_20170110" | ||
|
||
# Set SIP order to 4, the Task default before RFC-577 to maintain same behavior | ||
config.astrometry.wcsFitter.order = 4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
""" | ||
DECam-specific overrides for CharacterizeImageTask | ||
""" | ||
config.repair.cosmicray.nCrPixelMax = 100000 | ||
|
||
# This sets the reference catalog name for Gen2. | ||
# Note that in Gen3, we've stopped pretending (which is what Gen2 does, | ||
# for backwards compatibility) that charImage uses a reference catalog. | ||
config.refObjLoader.ref_dataset_name = "ps1_pv3_3pi_20170110" | ||
# Note the u-band results may not be useful without a color term | ||
config.refObjLoader.filterMap['u'] = 'g' | ||
config.refObjLoader.filterMap['Y'] = 'y' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters