-
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.
Clean up overrides for refcat analysis tools.
- Don't set 'connections.data'; it's defined by a template that includes 'connections.refCatalog'. - Don't include a comment that just repeats the file name. - Set the obs-package default for photometry to the_monster, override in ImSim, ComCamSim, and (for now?) LATISS.
- Loading branch information
Showing
7 changed files
with
20 additions
and
9 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 |
---|---|---|
@@ -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
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
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 = "the_monster_20240904" | ||
config.connections.outputName = "sourceTable_visit_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 |
---|---|---|
@@ -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" |