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-42774: Rename difference image mask planes to include _TEMPLATE if they are set from the template #301

Merged
merged 4 commits into from Mar 11, 2024

Conversation

isullivan
Copy link
Contributor

No description provided.

Copy link
Contributor

@BrunoSanchez BrunoSanchez left a comment

Choose a reason for hiding this comment

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

Looks fine.
I think it is much better than before. I think this is more clear, and it makes more sense, as opposed to inherit mask planes from the template images without an easy way to track provenance.

Copy link
Contributor

Choose a reason for hiding this comment

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

The way github broke apart the line changes is wonky, but I can see how this works and it looks good.

@@ -1018,7 +1018,7 @@ def computeAveragePsf(exposure: afwImage.Exposure,
return psfImage


def detectTestSources(exposure):
def detectTestSources(exposure, addMaskPlanes=None):
Copy link
Contributor

Choose a reason for hiding this comment

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

Please add the docs for this new optional parameter.

Copy link
Contributor

Choose a reason for hiding this comment

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

Just the docstring change. It looks good.

Copy link
Contributor

Choose a reason for hiding this comment

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

Looks good.

Copy link
Contributor

Choose a reason for hiding this comment

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

Looks good as well.

@isullivan isullivan merged commit 24a354c into main Mar 11, 2024
2 checks passed
@isullivan isullivan deleted the tickets/DM-42774 branch March 11, 2024 18:52
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.

None yet

2 participants