spacetelescope / poppy

Physical Optics Propagation in Python
https://poppy-optics.readthedocs.io
BSD 3-Clause "New" or "Revised" License
211 stars 69 forks source link

Update utils.py - add Median Absolute Deviation option to radial_profile #591

Closed saikrishanthpm closed 9 months ago

saikrishanthpm commented 11 months ago

Added ability to compute median absolute deviation (MAD) to the radial profile function. MAD is a better estimator than standard deviation for smaller datasets, being more robust to outliers.

codecov[bot] commented 9 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (8e2d84d) 74.46% compared to head (7b1babb) 74.13%. Report is 29 commits behind head on develop.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## develop #591 +/- ## =========================================== - Coverage 74.46% 74.13% -0.34% =========================================== Files 18 18 Lines 6549 6558 +9 =========================================== - Hits 4877 4862 -15 - Misses 1672 1696 +24 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.