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

Add nucal calibrator class #920

Closed tyler-a-cox closed 6 months ago

tyler-a-cox commented 9 months ago

This PR implements a new class, SpectrallyRedundantCalibrator, for calibrating spatially redundant degeneracies using spectrally redundant calibration. This class uses gradient descent to solve for a smooth DPSS-based, sky model and redundant baseline degeneracies using the method detailed here and is intended to be an easy-to-use implementation of spectrally redundant calibration, like redcal.RedundantCalibrator is for spatially redundant calibration.

codecov[bot] commented 9 months ago

Codecov Report

Attention: 3 lines in your changes are missing coverage. Please review.

Comparison is base (0a26da5) 97.15% compared to head (259f4e7) 97.16%.

Files Patch % Lines
hera_cal/nucal.py 97.76% 3 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #920 +/- ## ======================================== Coverage 97.15% 97.16% ======================================== Files 23 23 Lines 10520 10638 +118 ======================================== + Hits 10221 10336 +115 - Misses 299 302 +3 ``` | [Flag](https://app.codecov.io/gh/HERA-Team/hera_cal/pull/920/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/920/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=HERA-Team) | `97.16% <97.76%> (+<0.01%)` | :arrow_up: | 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.

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