-
Notifications
You must be signed in to change notification settings - Fork 8
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 nucal calibrator class #920
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #920 +/- ##
========================================
Coverage 97.15% 97.16%
========================================
Files 23 23
Lines 10520 10638 +118
========================================
+ Hits 10221 10336 +115
- Misses 299 302 +3
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a few small tweaks and then you're good to go
gradient descent steps. | ||
spectral_filter_half_width : float, default=20e-9 | ||
Fourier half-width of the spectral axis DPSS filters in units of seconds. | ||
spatial_filter_half_width : float, default=1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This remains an issue
class TestGradientDescent: | ||
def setup_method(self): | ||
self.freqs = np.linspace(50e6, 250e6, 200) | ||
self.antpos = linear_array(10, sep=2) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As a compromise, let's do two linear arms
This PR implements a new class,
SpectrallyRedundantCalibrator
, for calibrating spatially redundant degeneracies using spectrally redundant calibration. This class uses gradient descent to solve for a smooth DPSS-based, sky model and redundant baseline degeneracies using the method detailed here and is intended to be an easy-to-use implementation of spectrally redundant calibration, likeredcal.RedundantCalibrator
is for spatially redundant calibration.