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

Add mask parameter to unsharp #4

Open
steventgk opened this issue May 23, 2023 · 0 comments
Open

Add mask parameter to unsharp #4

steventgk opened this issue May 23, 2023 · 0 comments

Comments

@steventgk
Copy link
Owner

Add a mask parameter to the unsharp code to allow for the removal of 'spots' in the final unsharp image.

E.g. if the input array is number counts, cond = stat>100 would be a mask of the same size, which has values of true where the counts are larger than 100.

We can then set !cond=np.nan to mask out statistically meaningless values in the unsharp image.

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

No branches or pull requests

1 participant