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

ss/narrowband-gain-error #34

Merged
merged 8 commits into from
Sep 22, 2022
Merged

ss/narrowband-gain-error #34

merged 8 commits into from
Sep 22, 2022

Conversation

ssiegelx
Copy link
Contributor

Adds a new method rfi.iterative_hpf_masking that implements the algorithm used to identify narrowband features in the gains. I am putting it in ch_util in case we want to use it in the real-time pipeline in the future.

Also makes a few modifications to cal_utils.interpolate_gain to make it work with the pipeline used to flag these features.

Seth Siegel and others added 4 commits July 8, 2022 13:23
- Check if data is complex.  If not, do not perform GPR on imag part.
- Set appropriate boundaries for the variance of the kernel.
  Previous defaults were not valid under some circumstances.
Copy link
Contributor

@tristpinsm tristpinsm left a comment

Choose a reason for hiding this comment

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

Just a couple things that caught my attention. Sorry for the delay!

ch_util/cal_utils.py Show resolved Hide resolved
ch_util/rfi.py Show resolved Hide resolved
Seth Siegel added 2 commits September 5, 2022 16:28
- Ensure consistent predicted error on interpolated gains
  for different versions of sklearn.
- Add note about algorithm used to construct high-pass filter.
@ssiegelx
Copy link
Contributor Author

ssiegelx commented Sep 5, 2022

Thanks @tristpinsm! I have addressed your comments.

tristpinsm
tristpinsm previously approved these changes Sep 6, 2022
@ssiegelx ssiegelx merged commit a0ef38e into master Sep 22, 2022
@ssiegelx ssiegelx deleted the ss/narrowband-gain-error branch September 22, 2022 15:11
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