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

Fits nucal models to data #879

Closed tyler-a-cox closed 1 year ago

tyler-a-cox commented 1 year ago

This PR adds new functions for performing linear fits of nucal modes to data. Implements methods which fit u-dependent models and full u-nu dependent models to the data to find a decent starting point for gradient descent. Full gradient descent fitting will be implemented in the next nucal PR

codecov[bot] commented 1 year ago

Codecov Report

Patch coverage: 100.00% and project coverage change: +0.02 :tada:

Comparison is base (d5cadd5) 97.11% compared to head (99faca4) 97.14%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #879 +/- ## ========================================== + Coverage 97.11% 97.14% +0.02% ========================================== Files 20 20 Lines 9114 9197 +83 ========================================== + Hits 8851 8934 +83 Misses 263 263 ``` | [Impacted Files](https://codecov.io/gh/HERA-Team/hera_cal/pull/879?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=HERA-Team) | Coverage Δ | | |---|---|---| | [hera\_cal/nucal.py](https://codecov.io/gh/HERA-Team/hera_cal/pull/879?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=HERA-Team#diff-aGVyYV9jYWwvbnVjYWwucHk=) | `100.00% <100.00%> (ø)` | | 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.