Repository navigation
Updating uvcalibrate to work with flex-pol/flex-Jones objects - #1734
Open
kartographer wants to merge 2 commits into
Open
kartographer wants to merge 2 commits into
kartographer wants to merge 2 commits into
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1734 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 71 71
Lines 23921 23977 +56
=========================================
+ Hits 23921 23977 +56 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
uvcalibratehas been updated to enable it to correctly work with flex-JonesUVCaland flex-polUVDataobjects. To allow for this, a few underlying changes toUVCalwhere made:UVCal.convert_to_flex_joneswas changed so that the number ordering scheme matches that of the corresponding method inUVDataandUVCal._slice_arraynow matches values inUVCal.flex_jones_arrayfor flex-Jones arrays.Additionally the
UVCal.__add__method has been updated to fix a bug whereflex_jones_arraywas not being appropriately ordered, and theUVCal.remove_flex_jones,UVCal._make_flex_jones, andUVCal.convert_to_flex_jonesmethods have been updated to fix an error that popped up whenUVCal.total_quality_arraywas set.Motivation and Context
SMA occasionally uses a split-tuning mode for observing, which is partially what gave rise to the need for flex-pol/Jones objects. Now that we are starting to play around with calibrating data within pyuvdata, I stumbled upon the fact that flex-pol objects don't actually work within
uvcalibrate. This PR attempts to remedy that, updating both the underlying module (and some associated methods withinUVCal) to enable it to work with flex-JonesUVCaland flex-polUVDataobjects.Along the way, I discovered (and fixed) a couple of bugs within
UVCalassociated with flex-Jones objects.Types of changes
Checklist:
Bug fix checklist:
New feature checklist: