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

feat: add inpaint-mode for lst binner #907

Closed steven-murray closed 1 year ago

steven-murray commented 1 year ago

This adds an "inpaint" mode for the LST-binner. In this mode, flagged data is assumed to have been in-painted to preserve spectral smoothness.

jsdillon commented 1 year ago

Also, what do you want to do about tests failing?

codecov[bot] commented 1 year ago

Codecov Report

Patch coverage: 98.69% and project coverage change: +0.01% :tada:

Comparison is base (f5f463c) 97.17% compared to head (89abe8f) 97.19%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #907 +/- ## ========================================== + Coverage 97.17% 97.19% +0.01% ========================================== Files 23 23 Lines 10282 10429 +147 ========================================== + Hits 9992 10136 +144 - Misses 290 293 +3 ``` | [Flag](https://app.codecov.io/gh/HERA-Team/hera_cal/pull/907/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=HERA-Team) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/HERA-Team/hera_cal/pull/907/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=HERA-Team) | `97.19% <98.69%> (?)` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=HERA-Team#carryforward-flags-in-the-pull-request-comment) to find out more. | [Files Changed](https://app.codecov.io/gh/HERA-Team/hera_cal/pull/907?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=HERA-Team) | Coverage Δ | | |---|---|---| | [hera\_cal/utils.py](https://app.codecov.io/gh/HERA-Team/hera_cal/pull/907?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=HERA-Team#diff-aGVyYV9jYWwvdXRpbHMucHk=) | `95.63% <95.23%> (+0.04%)` | :arrow_up: | | [hera\_cal/lstbin\_simple.py](https://app.codecov.io/gh/HERA-Team/hera_cal/pull/907?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=HERA-Team#diff-aGVyYV9jYWwvbHN0YmluX3NpbXBsZS5weQ==) | `97.58% <98.75%> (-0.08%)` | :arrow_down: | | [hera\_cal/datacontainer.py](https://app.codecov.io/gh/HERA-Team/hera_cal/pull/907?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=HERA-Team#diff-aGVyYV9jYWwvZGF0YWNvbnRhaW5lci5weQ==) | `98.78% <100.00%> (+0.08%)` | :arrow_up: | | [hera\_cal/io.py](https://app.codecov.io/gh/HERA-Team/hera_cal/pull/907?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=HERA-Team#diff-aGVyYV9jYWwvaW8ucHk=) | `98.16% <100.00%> (+<0.01%)` | :arrow_up: | | [hera\_cal/lstbin.py](https://app.codecov.io/gh/HERA-Team/hera_cal/pull/907?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=HERA-Team#diff-aGVyYV9jYWwvbHN0YmluLnB5) | `96.92% <100.00%> (+0.01%)` | :arrow_up: |

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