HERA-Team / hera_cal

Library for HERA data reduction, including redundant calibration, absolute calibration, and LST-binning.
MIT License
13 stars 8 forks source link

Make smooth_cal more tolerant of small gains and nans/infs (as long as they are flagged) #885

Closed jsdillon closed 1 year ago

jsdillon commented 1 year ago

These small tweaks makes smooth_cal a little more robust to unexpected inputs.

codecov[bot] commented 1 year ago

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (14c625a) 97.14% compared to head (310d55f) 97.14%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #885 +/- ## ======================================= Coverage 97.14% 97.14% ======================================= Files 20 20 Lines 9197 9204 +7 ======================================= + Hits 8934 8941 +7 Misses 263 263 ``` | [Impacted Files](https://codecov.io/gh/HERA-Team/hera_cal/pull/885?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=HERA-Team) | Coverage Δ | | |---|---|---| | [hera\_cal/smooth\_cal.py](https://codecov.io/gh/HERA-Team/hera_cal/pull/885?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=HERA-Team#diff-aGVyYV9jYWwvc21vb3RoX2NhbC5weQ==) | `96.73% <100.00%> (+0.05%)` | :arrow_up: | Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=HERA-Team). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=HERA-Team)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.