Skip to content

DM-50717: Add option to filter outliers from the binned background image #428

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

Merged
merged 1 commit into from
May 11, 2025

Conversation

isullivan
Copy link
Contributor

No description provided.

Fit and binned background image, which will be modified in place.
"""
statsImg = background.getStatsImage()
statsImg.image.array = median_filter(statsImg.image.array, mode='reflect', size=3)
Copy link
Contributor

Choose a reason for hiding this comment

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

I'd certainly like to see the size=3 as a configurable here. I'm less concerned of the need to make mode configurable though (I think reflect is a good one-size-fits-all here).

@isullivan isullivan merged commit a815be3 into main May 11, 2025
4 checks passed
@isullivan isullivan deleted the tickets/DM-50717 branch May 11, 2025 06:33
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