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-41881: Decrease nBins for LATISS focal plane plots in analysis_tools #95

Merged
merged 1 commit into from
Dec 3, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 33 additions & 5 deletions pipelines/LATISS/DRP.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,17 @@ instrument: lsst.obs.lsst.Latiss
imports:
- location: $DRP_PIPE_DIR/pipelines/_ingredients/DRP-full.yaml
- location: $ANALYSIS_TOOLS_DIR/pipelines/coaddColumnValidate.yaml
- location: $ANALYSIS_TOOLS_DIR/pipelines/matchedVisitQualityCore.yaml
- location: $ANALYSIS_TOOLS_DIR/pipelines/coaddQualityCore.yaml
exclude:
- analyzeObjectTableCore
# The following are from analysis_drp
# TODO: remove once they have all been ported to analysis_tools (DM-39081)
- location: $ANALYSIS_DRP_DIR/pipelines/analysis_drp_plots.yaml
include:
- plot_ri_gr_psf
- plot_ri_gr_cmodel
- plot_wFit_PSF
- plot_xFit_PSF
# The following are from analysis_drp
# TODO: remove once they have all been ported to analysis_tools (DM-39081)
- location: $ANALYSIS_DRP_DIR/pipelines/coaddQAPlots_tier2_3.yaml
include:
- plot_ri_gr_contour_psf
Expand Down Expand Up @@ -46,8 +45,8 @@ tasks:
# psf kernel size.
maxPsfFwhm: 1.9

# Importing and defining analyzeObjectTableCore here to omit plots that
# require z and/or y band data.
# Defining analyzeObjectTableCore here to omit plots that require z and/or
# y band data.
analyzeObjectTableCore:
class: lsst.analysis.tools.tasks.ObjectTableTractAnalysisTask
config:
Expand All @@ -67,6 +66,35 @@ tasks:
from lsst.analysis.tools.atools import *
from lsst.analysis.tools.contexts import *

# Defining analyzematchedVisitCore here to change the nBins config and omit
# plots currently not relevant for LATISS imaging.
analyzeMatchedVisitCore:
class: lsst.analysis.tools.tasks.AssociatedSourcesTractAnalysisTask
config:
connections.outputName: matchedVisitCore
atools.stellarPhotometricRepeatability: StellarPhotometricRepeatability
atools.stellarPhotometricResiduals: StellarPhotometricResidualsFocalPlane
atools.stellarPhotometricResiduals.produce.plot.nBins: 80
atools.stellarAstrometricResidualsRA: StellarAstrometricResidualsRAFocalPlanePlot
atools.stellarAstrometricResidualsRA.produce.nBins: 80
atools.stellarAstrometricResidualsDec: StellarAstrometricResidualsDecFocalPlanePlot
atools.stellarAstrometricResidualsDec.produce.nBins: 80
atools.stellarAstrometricResidualStdDevRA: StellarAstrometricResidualStdDevRAFocalPlanePlot
atools.stellarAstrometricResidualStdDevRA.produce.nBins: 80
atools.stellarAstrometricResidualStdDevDec: StellarAstrometricResidualStdDevDecFocalPlanePlot
atools.stellarAstrometricResidualStdDevDec.produce.nBins: 80
# The following are the AMX metrics: median relative astrometric measurement
# error on N arc minute scales from single visit images shall be less than
# this value, where N = 5, 20, 200 arcmin for X = 1, 2, 3, respectivley.
# Given the current distribution of visits/field, one X = 1 is included for
# now (the others just pollute the repo with empty plots). The others can/should
# be added if the observing strategy changes to warrant it.
atools.stellarAstrometricRepeatability1: AstrometricRelativeRepeatability
atools.stellarAstrometricRepeatability1.xValue: 1
atools.stellarAstrometricRepeatability1.process.calculateActions.rms.annulus: 5
python: |
from lsst.analysis.tools.atools import *

subsets:
step1:
subset:
Expand Down