Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DM-34583: Fix faro sky object metric lookup name #135

Merged
merged 1 commit into from
Apr 28, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 4 additions & 4 deletions pipelines/measurement/measurement_tract.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,25 +22,25 @@ tasks:
config.measure.minSep = 5.0
config.measure.maxSep = 20.0
config.measure.shearConvention = False
SkyObjectMean:
skyObjectMean:
class: lsst.faro.measurement.TractTableMeasurementTask
config:
measure.statistic: MEAN
connections.package: pipe_analysis
connections.metric: SkyObjectMean_ap09Flux
connections.metric: skyObjectMean_ap09Flux
python: |
from lsst.faro.measurement import FluxStatisticTask
import lsst.faro.utils.selectors as selectors
config.measure.retarget(FluxStatisticTask)
config.measure.columnsBand = {"flux": "ap09Flux"}
config.measure.selectorActions.FlagSelector=selectors.FlagSelector
config.measure.selectorActions.FlagSelector.selectWhenTrue=["sky_object"]
SkyObjectStd:
skyObjectStd:
class: lsst.faro.measurement.TractTableMeasurementTask
config:
measure.statistic: STDEV
connections.package: pipe_analysis
connections.metric: SkyObjectStd_ap09Flux
connections.metric: skyObjectStd_ap09Flux
python: |
from lsst.faro.measurement import FluxStatisticTask
import lsst.faro.utils.selectors as selectors
Expand Down
8 changes: 4 additions & 4 deletions pipelines/measurement/measurement_tract_table.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,25 +56,25 @@ tasks:
config.measure.minSep = 5.0
config.measure.maxSep = 20.0
config.measure.shearConvention = False
SkyObjectMean:
skyObjectMean:
class: lsst.faro.measurement.TractTableMeasurementTask
config:
measure.statistic: MEAN
connections.package: pipe_analysis
connections.metric: SkyObjectMean_ap09Flux
connections.metric: skyObjectMean_ap09Flux
python: |
from lsst.faro.measurement import FluxStatisticTask
import lsst.faro.utils.selectors as selectors
config.measure.retarget(FluxStatisticTask)
config.measure.columnsBand = {"flux": "ap09Flux"}
config.measure.selectorActions.FlagSelector=selectors.FlagSelector
config.measure.selectorActions.FlagSelector.selectWhenTrue=["sky_object"]
SkyObjectStd:
skyObjectStd:
class: lsst.faro.measurement.TractTableMeasurementTask
config:
measure.statistic: STDEV
connections.package: pipe_analysis
connections.metric: SkyObjectStd_ap09Flux
connections.metric: skyObjectStd_ap09Flux
python: |
from lsst.faro.measurement import FluxStatisticTask
import lsst.faro.utils.selectors as selectors
Expand Down