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-45300: Begin deprecation of task metadata in cp_pipe/cp_verify #253

Merged
merged 2 commits into from
Jul 22, 2024

Conversation

czwa
Copy link
Contributor

@czwa czwa commented Jul 19, 2024

Move getReadNoise to lsst.cp.pipe.utils, and make it able to find read noise entries in either the exposure or task metadata.

…task metadata as we deprecate task metadata.
@czwa czwa requested a review from erykoff July 19, 2024 22:24
Copy link
Contributor

@erykoff erykoff left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are we planning on deprecating the metadata input to the ptc extractor as well?

@@ -515,16 +515,14 @@ def run(self, inputExp, inputDims, taskMetadata, inputPhotodiodeData=None):
readNoise2 = dict()
meanReadNoise = dict()

expMetadata1 = expRef1.get(component="metadata")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I now see that we already had exp1 and exp2 loaded so this was just extra i/o.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I definitely want to deprecate all taskMetadata inputs, so I've added the notice to that connection as well.

@czwa czwa merged commit f69910c into main Jul 22, 2024
2 checks passed
@czwa czwa deleted the tickets/DM-45300 branch July 22, 2024 22:25
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