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

Use median instead of mean for spatial spectral averaging #1050

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ines-torres
Copy link
Contributor

Following the pull request from @mazhe (#825), we changed the spectral averaging method from mean to median average over multiple pixels, as the median is more robust to outliers, ensuring more reliable results in the presence of noise.

Regards,

Authorship:

  • Matthieu Volat, CNRS engineer, Observatoire de Lyon

  • Ines Torres, PhD student, LGLTPE / Université Claude Bernard Lyon 1

@janzandr
Copy link
Contributor

I would suggest to add a user option for aggregation type, e.g.

  • mean
  • median
  • maybe also variance (?)

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