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-42201: Add flat metrics for mean, noise vs mjd and FP plots #308

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Alex-Broughton
Copy link

No description provided.

@Alex-Broughton Alex-Broughton force-pushed the tickets/DM-42201 branch 3 times, most recently from d597a35 to 9b34d29 Compare November 14, 2024 18:03
@Alex-Broughton Alex-Broughton requested a review from czwa November 14, 2024 18:06
@@ -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
Copy link
Contributor

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.

@Alex-Broughton Alex-Broughton force-pushed the tickets/DM-42201 branch 3 times, most recently from cd31e49 to 1e93a60 Compare December 15, 2024 20:35
from lsst.analysis.tools.atools import *

analyzeFlatDetMergeCore:
class: lsst.analysis.tools.tasks.VerifyCalibAnalysisTaskByFilter
Copy link
Contributor

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"].

Copy link
Contributor

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.

Copy link
Contributor

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.

Copy link
Contributor

@czwa czwa left a 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.

@Alex-Broughton Alex-Broughton force-pushed the tickets/DM-42201 branch 2 times, most recently from 643828b to f5ab80f Compare December 16, 2024 21:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants