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

184 change the doppler convention #185

Merged
merged 5 commits into from
Jan 14, 2024
Merged

Conversation

mpound
Copy link
Collaborator

@mpound mpound commented Jan 10, 2024

This adds methods:
set_frame - change the sky coordinate reference frame in place
set_convention - change the doppler velocity convention in place
with_frame - return a new spectrum with the updated coordinate reference frame
with_velocity_convention - return a new spectrum with the updated doppler velocity convention.

It also enables "topo" as a frame in set_frame and in tests/test_doppler_frames.py

Also adds more gbtidl ascii test files to testdata/gbtidl. These are zipped because of file size limits.

Also some code cleanup.

@mpound mpound linked an issue Jan 10, 2024 that may be closed by this pull request
@mpound mpound requested a review from astrofle January 10, 2024 19:28
@teuben teuben merged commit 84e9334 into main Jan 14, 2024
14 checks passed
@mpound mpound deleted the 184-change-the-doppler-convention branch April 1, 2024 20:58
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.

Change the doppler convention
3 participants