HERA-Team / hera_qm

HERA Data Quality Metrics
MIT License
2 stars 2 forks source link

Autocorrelation Power and Slope Classifiers #422

Closed jsdillon closed 2 years ago

jsdillon commented 2 years ago

This PR implements bounds checking from @AaronParsons's fastcal notebook: https://github.com/HERA-Team/hera_notebook_templates/blob/ef53071cfac322a6fe9d629d0ed508028bd1fe3c/notebooks/fastcal_inspect.ipynb

It adds functions that turn autocorrelation datacontainers into AntennaClassification objects based on power (in correlator units) or relative slope over the band.

codecov[bot] commented 2 years ago

Codecov Report

Merging #422 (047608d) into main (b21d1bc) will increase coverage by 0.02%. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #422      +/-   ##
==========================================
+ Coverage   96.90%   96.92%   +0.02%     
==========================================
  Files          10       10              
  Lines        3394     3417      +23     
==========================================
+ Hits         3289     3312      +23     
  Misses        105      105              
Impacted Files Coverage Δ
hera_qm/ant_class.py 96.87% <100.00%> (+0.52%) :arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.