-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Set the obs-package default for photometry to the_monster, override in ImSim, ComCamSim, and (for now?) LATISS. - Don't include a comment that just repeats the file name. - Don't set 'connections.data'; it's defined by a template that includes 'connections.refCatalog'.
- Loading branch information
Showing
25 changed files
with
39 additions
and
64 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
config.connections.refCatalog = "the_monster_20240904" |
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.connections.refCatalog = "the_monster_20240904" |
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,9 +1,5 @@ | ||
"""Overrides for PhotometricCatalogMatchTask""" | ||
|
||
import os.path | ||
|
||
configDir = os.path.dirname(__file__) | ||
config.referenceCatalogLoader.refObjLoader.load(os.path.join(configDir, "filterMap.py")) | ||
config.referenceCatalogLoader.doApplyColorTerms = False | ||
|
||
config.connections.refCatalog = "the_monster_20240904" |
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,9 +1,5 @@ | ||
"""Overrides for PhotometricCatalogMatchTask""" | ||
|
||
import os.path | ||
|
||
configDir = os.path.dirname(__file__) | ||
config.referenceCatalogLoader.refObjLoader.load(os.path.join(configDir, "filterMap.py")) | ||
|
||
config.connections.refCatalog = "the_monster_20240904" | ||
config.referenceCatalogLoader.doApplyColorTerms = 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,3 @@ | ||
"""comCam-specific overrides for MeasureMergedCoaddSourcesTask""" | ||
|
||
import os.path | ||
|
||
config.match.refObjLoader.load(os.path.join(os.path.dirname(__file__), "filterMap.py")) | ||
config.connections.refCat = "the_monster_20240904" |
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,9 +1,7 @@ | ||
"""comCamSim-specific overrides for PhotometricCatalogMatchVisitTask""" | ||
|
||
import os.path | ||
|
||
configDir = os.path.dirname(__file__) | ||
config.referenceCatalogLoader.refObjLoader.load(os.path.join(configDir, "filterMap.py")) | ||
config.referenceCatalogLoader.doApplyColorTerms = False | ||
|
||
config.connections.refCatalog = "uw_stars_20240524" | ||
config.referenceCatalogLoader.doApplyColorTerms = 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,2 @@ | ||
"""Overrides for RefCatObjectPhotometricAnalysisTask""" | ||
|
||
config.connections.outputName = "objectTable_tract_uw_stars_20240524_match_photom" | ||
config.connections.refCatalog = "uw_stars_20240524" | ||
config.connections.outputName = "objectTable_tract_uw_stars_20240524_match_photom" |
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,3 +1,2 @@ | ||
"""comCamSim-specific overrides for RefCatSourcePhotometricAnalysisTask""" | ||
|
||
config.connections.data = "sourceTable_visit_uw_stars_20240524_photoMatch" | ||
config.connections.refCatalog = "uw_stars_20240524" | ||
config.connections.outputName = "sourceTable_visit_uw_stars_20240524_match_photom" |
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,28 +1,4 @@ | ||
# This file is part of obs_lsst. | ||
# | ||
# Developed for the LSST Data Management System. | ||
# This product includes software developed by the LSST Project | ||
# (http://www.lsst.org). | ||
# See the COPYRIGHT file at the top-level directory of this distribution | ||
# for details of code ownership. | ||
# | ||
# This program is free software: you can redistribute it and/or modify | ||
# it under the terms of the GNU General Public License as published by | ||
# the Free Software Foundation, either version 3 of the License, or | ||
# (at your option) any later version. | ||
# | ||
# This program is distributed in the hope that it will be useful, | ||
# but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
# GNU General Public License for more details. | ||
# | ||
# You should have received a copy of the LSST License Statement and | ||
# the GNU General Public License along with this program. If not, | ||
# see <http://www.lsstcorp.org/LegalNotices/>. | ||
|
||
"""imSim-specific overrides for MeasureMergedCoaddSourcesTask""" | ||
|
||
import os.path | ||
|
||
config.match.refObjLoader.load(os.path.join(os.path.dirname(__file__), "filterMap.py")) | ||
config.connections.refCat = "cal_ref_cat" | ||
config.connections.refCat = "cal_ref_cat_2_2" |
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,2 @@ | ||
config.connections.refCatalog = "cal_ref_cat_2_2" | ||
config.connections.outputName = "objectTable_tract_cal_ref_cat_2_2_match_photom" |
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,2 @@ | ||
config.connections.refCatalog = "cal_ref_cat_2_2" | ||
config.connections.outputName = "sourceTable_visit_cal_ref_cat_2_2_match_photom" |
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,9 @@ | ||
import os.path | ||
|
||
OBS_CONFIG_DIR = os.path.dirname(__file__) | ||
|
||
config.referenceCatalogLoader.refObjLoader.load(os.path.join(OBS_CONFIG_DIR, "filterMap.py")) | ||
config.referenceCatalogLoader.doApplyColorTerms = True | ||
config.referenceCatalogLoader.colorterms.load(os.path.join(OBS_CONFIG_DIR, "colorterms.py")) | ||
|
||
config.connections.refCatalog = "atlas_refcat2_20220201" |
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,10 @@ | ||
import os.path | ||
from lsst.pipe.tasks.postprocess import TransformObjectCatalogConfig | ||
|
||
# By default loop over all the same bands that are present in the Object Table | ||
objectConfig = TransformObjectCatalogConfig() | ||
objectConfig.load(os.path.join(os.path.dirname(__file__), "transformObjectCatalog.py")) | ||
config.bands = objectConfig.outputBands | ||
|
||
config.connections.refCatalog = "atlas_refcat2_20220201" | ||
config.connections.outputName = "sourceTable_visit_atlas_refcat2_20220201_match_photom" |
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,3 @@ | ||
"""LSSTCam-specific overrides for MeasureMergedCoaddSourcesTask""" | ||
|
||
import os.path | ||
|
||
config.match.refObjLoader.load(os.path.join(os.path.dirname(__file__), "filterMap.py")) | ||
config.connections.refCat = "atlas_refcat2_20220201" |
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,2 @@ | ||
config.connections.refCatalog = "the_monster_20240904" | ||
config.connections.outputName = "objectTable_tract_the_monster_20240904_match_photom" |
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,2 @@ | ||
"""Overrides for RefCatSourcePhotometricAnalysisTask""" | ||
|
||
config.connections.data = "sourceTable_visit_the_monster_20240904_match_photom" | ||
config.connections.refCatalog = "the_monster_20240904" | ||
config.connections.outputName = "sourceTable_visit_the_monster_20240904_match_photom" |