I have a spectral cube (in FITS format) whose spectral dimension is in ångströms. The sampling along the spectral dimension is 0.28A (CDELT=0.28). The observation in the cube is Ha emission of a galaxy at redshift 0.1.

How can I convert the sampling to km/s?


If you want bins that have an equal step in km/s then you will have to rebin in steps of equal log wavelength. On this scale the rest wavelength of H alpha is at zero km/s and then each bin will represent a increment in velocity with respect to that.

See How do I apply a velocity shift to a wavelength array with uniform logarithmic spacing?

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.