Skip to content

Commit

Permalink
Added fakes metrics based on magnitudes
Browse files Browse the repository at this point in the history
  • Loading branch information
BrunoSanchez committed Sep 19, 2024
1 parent 6903dfe commit 858a424
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions pipelines/apDetectorVisitFakesCore.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,20 @@ tasks:
# From 6 to infinity
atools.numFoundFakesDiaSNR6tInfMetric: FractionFoundFakesDiaSnrMetric
atools.numFoundFakesDiaSNR6tInfMetric.snrMin: 6
# Completeness as function of magnitude
atools.numFoundFakesDiaMag20t22Metric: FractionFoundFakesDiaMagMetric
atools.numFoundFakesDiaMag20t22Metric.magMin: 20
atools.numFoundFakesDiaMag20t22Metric.magMax: 22
atools.numFoundFakesDiaMag22t24Metric: FractionFoundFakesDiaMagMetric
atools.numFoundFakesDiaMag22t24Metric.magMin: 22
atools.numFoundFakesDiaMag22t24Metric.magMax: 24
atools.numFoundFakesDiaMag24t26Metric: FractionFoundFakesDiaMagMetric
atools.numFoundFakesDiaMag24t26Metric.magMin: 24
atools.numFoundFakesDiaMag24t26Metric.magMax: 26
connections.outputName: diaFakesDetectorVisitCore
python: |
from lsst.analysis.tools.atools import FractionFoundFakesDiaSnrMetric
from lsst.analysis.tools.atools import FractionFoundFakesDiaMagMetric
analyzeDiaFakesVisitCore:
class: lsst.analysis.tools.tasks.DiaFakesVisitAnalysisTask
config:
Expand All @@ -60,7 +71,18 @@ tasks:
# From 6 to infinity
atools.numFoundFakesDiaSNR6tInfMetric: FractionFoundFakesDiaSnrMetric
atools.numFoundFakesDiaSNR6tInfMetric.snrMin: 6
# Completeness as function of magnitude
atools.numFoundFakesDiaMag20t22Metric: FractionFoundFakesDiaMagMetric
atools.numFoundFakesDiaMag20t22Metric.magMin: 20
atools.numFoundFakesDiaMag20t22Metric.magMax: 22
atools.numFoundFakesDiaMag22t24Metric: FractionFoundFakesDiaMagMetric
atools.numFoundFakesDiaMag22t24Metric.magMin: 22
atools.numFoundFakesDiaMag22t24Metric.magMax: 24
atools.numFoundFakesDiaMag24t26Metric: FractionFoundFakesDiaMagMetric
atools.numFoundFakesDiaMag24t26Metric.magMin: 24
atools.numFoundFakesDiaMag24t26Metric.magMax: 26
connections.data: "fakes_{coaddName}Diff_matchDiaSourceTable"
connections.outputName: diaFakesVisitCore
python: |
from lsst.analysis.tools.atools import FractionFoundFakesDiaSnrMetric
from lsst.analysis.tools.atools import FractionFoundFakesDiaMagMetric

0 comments on commit 858a424

Please sign in to comment.