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-43404: Add diffim QA plots #231
Conversation
1a29b89
to
9d27563
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some worries about naming
@@ -6,6 +6,7 @@ | |||
from .cpVerifyQuantityProfile import * | |||
from .deblenderMetric import * | |||
from .deltaSkyCorr import * | |||
from .diaMetricsPlots import * |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The name here is confusing, because "metrics" here doesn't mean analysis_tools metrics, but the metrics stored in source catalogs. Is there a way we can make this more clear?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I renamed the module to diaSpatialMetricsPlots
. Does that help? I could also go with diaSpatiallySampledMetricsPlots
|
||
|
||
class DiffimMetricsInterpolatePlot(AnalysisTool): | ||
"""Interpolate metric values evaluated at locations in a supplied catalog |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Again, I'm worried about overloading the word "metric" here to mean very different software representations. (You could make an analysis_tools
metric from these "metrics", for instance.)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I changed the wording.
7097f63
to
b54de91
Compare
pass | ||
|
||
|
||
class DiffimDetectorVisitPlotsAnalysisTask(AnalysisPipelineTask): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Apologies, I think this probably needs a rename as well, since it only takes the spatially sampled metrics as input (rather than something more general to diffim.) DiffimDetectorVisitSpatiallySampledPlots
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll go with DiffimDetectorVisitSpatiallySampledMetricsTask
, to match the dataset name.
Note that this is a hack, since plotInfo does not support single band and single detector plots
5f5abe6
to
65f4d1e
Compare
65f4d1e
to
24c0fdb
Compare
No description provided.