Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add FRF noise covariance calculation library #977

Merged
merged 16 commits into from
Oct 16, 2024
Merged

Conversation

mwilensky768
Copy link

@mwilensky768 mwilensky768 commented Sep 26, 2024

This branch adds some noise propagation functions for the fringe rate filter + coherent averaging steps.

I've added the basic functions that are demonstrated in the single baseline power spectrum notebook, though they've been modified here to be slightly more general since the notebook versions used notebook-specific info. This PR and the corresponding one on that repo should probably coordinate.

I still need to add unit tests and think I should add a wrapper that goes from ee + nn autos/crosses all the way to a pI time-time cov. per freq so that there is a clearly implemented "pipeline" somewhere, though maybe that should just live in another repo as part of actual pipeline code.

Copy link

codecov bot commented Sep 26, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.20%. Comparing base (0529798) to head (8605a9d).
Report is 15 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #977      +/-   ##
==========================================
+ Coverage   97.16%   97.20%   +0.04%     
==========================================
  Files          31       31              
  Lines       11064    11140      +76     
==========================================
+ Hits        10750    10829      +79     
+ Misses        314      311       -3     
Flag Coverage Δ
unittests 97.20% <100.00%> (+0.04%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@jsdillon jsdillon self-requested a review October 11, 2024 00:22
Copy link
Member

@jsdillon jsdillon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @mwilensky768. This all looks basically fine, just a couple of minor suggestions

hera_cal/frf.py Outdated Show resolved Hide resolved
hera_cal/frf.py Outdated Show resolved Hide resolved
hera_cal/frf.py Outdated Show resolved Hide resolved
hera_cal/frf.py Outdated Show resolved Hide resolved
hera_cal/tests/test_frf.py Outdated Show resolved Hide resolved
hera_cal/noise.py Show resolved Hide resolved
@jsdillon jsdillon self-requested a review October 16, 2024 16:17
Copy link
Member

@jsdillon jsdillon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Assuming tests pass... Thanks @mwilensky768 !

@jsdillon jsdillon merged commit dd32406 into main Oct 16, 2024
8 of 9 checks passed
@jsdillon jsdillon deleted the add_frf_noise_cov branch October 16, 2024 17:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants