-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge generic and HSC conf overrides in obs_subaru
SuprimeCam no longer supported. Remove config/hsc.
- Loading branch information
1 parent
43b1174
commit 886ad83
Showing
87 changed files
with
175 additions
and
373 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
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,6 +1,5 @@ | ||
import os.path | ||
|
||
|
||
config.isr.load(os.path.join(os.path.dirname(__file__), "isr.py")) | ||
config.isr.doBrighterFatter = False | ||
config.isr.doStrayLight = False |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
import os.path | ||
|
||
|
||
config.colorterms.load(os.path.join(os.path.dirname(__file__), "colorterms.py")) | ||
config.refObjLoader.load(os.path.join(os.path.dirname(__file__), "filterMap.py")) | ||
config.load(os.path.join(os.path.dirname(__file__), "srcSchemaMap.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 |
---|---|---|
@@ -1,2 +1,5 @@ | ||
# Configs shared between makeCoaddTempExp and assemble | ||
config.matchingKernelSize = 29 | ||
config.doApplyExternalPhotoCalib = True | ||
config.externalPhotoCalibName = 'fgcm' | ||
config.doApplyExternalSkyWcs = True |
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,5 +1,4 @@ | ||
import os.path | ||
|
||
|
||
config.load(os.path.join(os.path.dirname(__file__), "srcSchemaMap.py")) | ||
config.load(os.path.join(os.path.dirname(__file__), "extinctionCoeffs.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 |
---|---|---|
@@ -1,5 +1,3 @@ | ||
"""Set color terms for HSC""" | ||
|
||
from lsst.pipe.tasks.colorterms import Colorterm, ColortermDict | ||
|
||
config.data = { | ||
|
1 change: 0 additions & 1 deletion
1
config/hsc/compareCoaddAnalysis.py → config/compareCoaddAnalysis.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 |
---|---|---|
@@ -1,6 +1,5 @@ | ||
import os.path | ||
|
||
|
||
config.colorterms.load(os.path.join(os.path.dirname(__file__), "colorterms.py")) | ||
config.refObjLoader.load(os.path.join(os.path.dirname(__file__), "filterMap.py")) | ||
config.load(os.path.join(os.path.dirname(__file__), "srcSchemaMap.py")) |
2 changes: 0 additions & 2 deletions
2
config/hsc/compareVisitAnalysis.py → config/compareVisitAnalysis.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 |
---|---|---|
@@ -1,6 +1,4 @@ | ||
import os.path | ||
|
||
|
||
config.refObjLoader.load(os.path.join(os.path.dirname(__file__), "..", "filterMap.py")) | ||
config.refObjLoader.load(os.path.join(os.path.dirname(__file__), "filterMap.py")) | ||
config.load(os.path.join(os.path.dirname(__file__), "srcSchemaMap.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
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,6 +1,5 @@ | ||
import os.path | ||
|
||
|
||
config.isr.load(os.path.join(os.path.dirname(__file__), "isr.py")) | ||
|
||
config.isr.doBias = True | ||
|
2 changes: 1 addition & 1 deletion
2
config/hsc/datasetIngest-gen3.py → config/datasetIngest-gen3.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
This file was deleted.
Oops, something went wrong.
File renamed without changes.
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,4 +1,3 @@ | ||
import os.path | ||
|
||
|
||
config.load(os.path.join(os.path.dirname(__file__), "srcSchemaMap.py")) |
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
config.cycleNumber = 5 |
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,2 +1,52 @@ | ||
for source, target in [('B', 'g'), ('V', 'r'), ('R', 'r'), ('I', 'i')]: | ||
for source, target in [ | ||
# Generic names | ||
('B', 'g'), | ||
('V', 'r'), | ||
('R', 'r'), | ||
('I', 'i'), | ||
|
||
# Names used by Exposure.getFilter() in Gen2. | ||
# Wide bands | ||
("r2", "r"), | ||
("i2", "i"), | ||
# Narrow bands | ||
('N387', 'g'), | ||
('N468', 'g'), | ||
('N515', 'g'), | ||
('N527', 'g'), | ||
('N656', 'r'), | ||
('N718', 'i'), | ||
('N816', 'i'), | ||
('N921', 'z'), | ||
('N926', 'z'), | ||
('N973', 'y'), | ||
('N1010', 'y'), | ||
# Intermediate bands | ||
('I945', 'z'), | ||
|
||
# Names used by data IDs in both Gen2 and Gen3, and | ||
# Exposure.getFilter() in Gen3 (mappings are the same). | ||
# Wide bands | ||
("HSC-G", "g"), | ||
("HSC-R", "r"), | ||
("HSC-R2", "r"), | ||
("HSC-I", "i"), | ||
("HSC-I2", "i"), | ||
("HSC-Z", "z"), | ||
("HSC-Y", "y"), | ||
# Narrow bands | ||
('NB0387', 'g'), | ||
('NB0468', 'g'), | ||
('NB0515', 'g'), | ||
('NB0527', 'g'), | ||
('NB0656', 'r'), | ||
('NB0718', 'i'), | ||
('NB0816', 'i'), | ||
('NB0921', 'z'), | ||
('NB0926', 'z'), | ||
('NB0973', 'y'), | ||
('NB1010', 'y'), | ||
# Intermediate bands | ||
('IB0945', 'z'), | ||
]: | ||
config.filterMap[source] = target |
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
File renamed without changes.
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,7 +1,10 @@ | ||
import os.path | ||
|
||
|
||
config.measurement.load(os.path.join(os.path.dirname(__file__), "apertures.py")) | ||
config.measurement.load(os.path.join(os.path.dirname(__file__), "kron.py")) | ||
|
||
config.measurement.slots.gaussianFlux = None | ||
config.doApplyExternalPhotoCalib = True | ||
config.externalPhotoCalibName = 'fgcm' | ||
config.doApplyExternalSkyWcs = True | ||
config.doApplySkyCorr = True |
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,7 +1,10 @@ | ||
import os | ||
import os.path | ||
|
||
configDir = os.path.dirname(__file__) | ||
bgFile = os.path.join(configDir, "background.py") | ||
|
||
config.detection.background.load(bgFile) | ||
config.subtractBackground.load(bgFile) | ||
|
||
config.isr.load(os.path.join(configDir, "isr.py")) | ||
config.isr.doBrighterFatter = False |
Oops, something went wrong.