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

convert the spectral axis of a FITS file from frequency to velocity #37

Open
SpheMakh opened this issue Feb 22, 2018 · 1 comment
Open
Assignees

Comments

@SpheMakh
Copy link
Contributor

Can we have a little Fitstool mode to convert the spectral axis of a FITS file from frequency to velocity?

At this stage I would like something simple, which assumes no reference frame transformation is required and goes simply from FREQ to VRAD with:

VRAD = c * ( 1-FREQ / RESTFREQ)

The value of RESTFREQ can be taken from the header itself. If it's not there we can add it with Fitstool's edit-header.

@SpheMakh
Copy link
Contributor Author

originally raised here caracal-pipeline/caracal#181

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant