NRAO Home > CASA > CASA Toolkit Reference Manual
sd.coordinate.coordinate.to_velocity - Function

5.1.9 Convert a channel/pixel value to a velocity
Description

The method converts a given channel/pixel value to a velocity under this spectral coordinate. Default unit of returned value is km/s.

Arguments





Inputs

pixel

Channel/pixel value where velocity wants to know

allowed:

float

Default:

unit

Unit of the returned value

allowed:

string (’km/s’, ’m/s’)

Default:

’km/s’





Returns
float

Example


More information about CASA may be found at the CASA web page

Copyright 2016 Associated Universities Inc., Washington, D.C.

This code is available under the terms of the GNU General Public Lincense


Home | Contact Us | Directories | Site Map | Help | Privacy Policy | Search