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

Slitmask matching error #1655

Merged
merged 3 commits into from
Aug 23, 2023
Merged

Slitmask matching error #1655

merged 3 commits into from
Aug 23, 2023

Conversation

kbwestfall
Copy link
Collaborator

Adds a display command used for debugging and throws an error if all of the slit edges are masked after the slit-design matching. This catches an error from one of @SunilSimha's DEIMOS datasets. The solution was to change the edge_thresh. This improved error message hopefully points users in the right direction, compared to the old obscure one that was completely unrelated.

Changes to slitmask.py are due to an unrelated OCD moment.

Copy link
Collaborator

@debora-pe debora-pe left a comment

Choose a reason for hiding this comment

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

Thanks @kbwestfall!

Copy link
Collaborator

@SunilSimha SunilSimha left a comment

Choose a reason for hiding this comment

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

Looks good. Thanks @kbwestfall, @debora-pe .

@kbwestfall kbwestfall merged commit f3f98a6 into develop Aug 23, 2023
23 checks passed
@kbwestfall kbwestfall deleted the matching_bug branch August 23, 2023 14:19
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.

3 participants