-
Notifications
You must be signed in to change notification settings - Fork 2
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-42201: Add flat metrics for mean, noise vs mjd and FP plots #308
base: main
Are you sure you want to change the base?
Conversation
d597a35
to
9b34d29
Compare
@@ -90,16 +91,19 @@ class SingleValueRepacker(KeyedDataAction): | |||
|
|||
def __call__(self, data: KeyedData, **kwargs) -> KeyedData: | |||
repackedData = {} | |||
uniquePanelKeys = list(set(data[self.panelKey])) | |||
good = ~data[self.panelKey].mask |
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.
Unfortunately, I think (based on your jenkins failure), that you need to see if data
is a numpy masked-array, and do the new thing, otherwise, default to the existing code. Hopefully that's not too difficult, and I'll re-check next week.
9b34d29
to
2f5df70
Compare
2f5df70
to
5d39a68
Compare
cd31e49
to
1e93a60
Compare
pipelines/cpCore.yaml
Outdated
from lsst.analysis.tools.atools import * | ||
|
||
analyzeFlatDetMergeCore: | ||
class: lsst.analysis.tools.tasks.VerifyCalibAnalysisTaskByFilter |
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.
This is calling the existing task that only has dimensions ["instrument", "physical_filter"]
. We need a new task that has input data dimensions of ["instrument", "physical_filter", "detector"]
.
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 think this means we need to add one more task with that set of dimensions. This all needs to be cleaned up next year to avoid this problem.
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.
Ah, as part of this discussion, we learned there is an existing task to do this, so if that runs, and produces plots then this should be fine.
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.
Approved, provided Jenkins is successful, as the "changes requested" appear to be already implemented.
643828b
to
f5ab80f
Compare
f5ab80f
to
132016e
Compare
No description provided.