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

Phase wraps #110

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Open

Phase wraps #110

wants to merge 8 commits into from

Conversation

r-pascua
Copy link
Contributor

This PR fixes a silent bug in plot.labeled_waterfall: prior to this update, the LST axis ticklabels were incorrect when the provided LSTs were wrapped. For example, if the LST array started at 23 hours and ended at 5 hours, then the plotting function would have listed the LST values as ranging from 5 hours to 23 hours, rather than wrapping from 23 hours to 5 hours--this update fixes that problem.

The code in plot.labeled_waterfall was updated to ensure that
phase-wrapped LSTs are labeled correctly and was implemented in a way
such that Fourier modes are still plotted symmetrically without issue.
These updates should remove the issues that cropped up with the previous
implementation.
The note added is a brief discussion on subtle, seemingly buggy,
behavior around plotting data with phase wrapped LSTs. It provides tips
to users who may not be very familiar with UVData objects and the issue
of appropriately extracting unique phase-wrapped LSTs without messing up
the ordering of the LST array.
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.

1 participant