HERA-Team / hera_cal

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

Enable antenna and waterfall type UVFlag files in smooth_cal #875

Closed jsdillon closed 1 year ago

jsdillon commented 1 year ago

This PR enables the use of antenna-type and waterfall-type UVFlag files in smooth_cal, instead of just baseline-type. These are now allowed to overlap in time, so for example, one can impose a set of binary antenna flags and a single RFI waterfall simultaneously.

It also adds an option ignore flags from the calfits file, allowing the user to just use the UVFlag files.

codecov[bot] commented 1 year ago

Codecov Report

Patch coverage: 100.00% and no project coverage change

Comparison is base (1e51522) 97.08% compared to head (a1450ef) 97.08%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #875 +/- ## ======================================= Coverage 97.08% 97.08% ======================================= Files 20 20 Lines 8993 8998 +5 ======================================= + Hits 8731 8736 +5 Misses 262 262 ``` | [Impacted Files](https://codecov.io/gh/HERA-Team/hera_cal/pull/875?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/875?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=HERA-Team#diff-aGVyYV9jYWwvc21vb3RoX2NhbC5weQ==) | `96.68% <100.00%> (+0.03%)` | :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 at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.