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

Allow user to impose a u-cut when generating PSWF filters for nucal #917

Merged
merged 7 commits into from
Nov 11, 2023

Conversation

tyler-a-cox
Copy link
Contributor

This PR allows users to set maximum and minimum u-bounds when generating PSWF basis functions for a nucal fit. This can be particularly useful when the user is attempting to fit a spectrally redundant group of baselines, where one of the baselines is significantly longer than the others. This can drastically increase the number of parameters without improving the fit of the other baselines. By restricting the u-axis, we can reduce the number of parameters involved in the fit while still allowing longer baselines to contribute to constraining spectral redundancy for the group.

Copy link

codecov bot commented Nov 9, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (0f1b175) 97.17% compared to head (38e3748) 97.17%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #917   +/-   ##
=======================================
  Coverage   97.17%   97.17%           
=======================================
  Files          23       23           
  Lines       10486    10488    +2     
=======================================
+ Hits        10190    10192    +2     
  Misses        296      296           
Flag Coverage Δ
unittests 97.17% <100.00%> (+<0.01%) ⬆️

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

Files Coverage Δ
hera_cal/nucal.py 100.00% <100.00%> (ø)

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

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.

Looks good to me!

@jsdillon jsdillon merged commit d89aaff into main Nov 11, 2023
8 checks passed
@jsdillon jsdillon deleted the nucal_modeling branch November 11, 2023 00: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