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-42087: Add more streak parameters to output #339

Merged
merged 1 commit into from
Sep 13, 2024
Merged

Conversation

cmsaunders
Copy link
Contributor

No description provided.

Copy link
Contributor

@mrawls mrawls left a comment

Choose a reason for hiding this comment

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

Following discussion at the AP meeting, please configure onlyMaskDetected to False in (next to the maskStreaks and writeStreakInfo configs around line 170) so it is the default behavior in difference imaging. Then this is good to go.

@cmsaunders
Copy link
Contributor Author

cmsaunders commented Sep 12, 2024

I took a slightly different approach, since maskStreaks is a ConfigurableField, and added a line in setDefaults to configure maskStreaks with onlyMaskDetected = False.

I also added some documentation that was missing in the original commit.

@@ -221,6 +221,8 @@ def setDefaults(self):
"STREAK", "INJECTED", "INJECTED_TEMPLATE"]
self.skySources.avoidMask = ["DETECTED", "DETECTED_NEGATIVE", "BAD", "NO_DATA", "EDGE"]

self.maskStreaks.onlyMaskDetected = False
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 a great place to set it, thank you - suggest one final inline comment e.g. # Set the streak mask along the entire fit line, not only where the detected mask is set

Copy link
Contributor

@mrawls mrawls left a comment

Choose a reason for hiding this comment

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

Good catch, this looks great, one more in-line comment ought to do it!

@cmsaunders cmsaunders merged commit bd397ab into main Sep 13, 2024
2 checks passed
@cmsaunders cmsaunders deleted the tickets/DM-42087 branch September 13, 2024 18:45
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