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

5.1.9 Convert a channel/pixel value to a frequency
Description

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

Arguments





Inputs

pixel

Channel/pixel value where frequency wants to know

allowed:

float

Default:

unit

Unit of the returned value

allowed:

string (’Hz’, ’kHz’, ’MHz’, ’GHz’)

Default:

’Hz’





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