|
|||
NRAO Home > CASA > CASA Toolkit Reference Manual |
|
sd.scantable.chan2data - Function
5.1.2 Return channel/frequency/velocity and spectral value at an arbitrary row and
channel
Description
Returns channel/frequency/velocity and spectral value at an arbitrary row
and channel in the scantable.
The returned value is a tuple with length of 2. The first element is a dictionary that contains an unit and a value for the abcissa, while the second one is also a dictionary that contains an unit and a value for the ordinate.
Arguments
Inputs |
| ||
rowno |
| A row number in the scantable | |
| allowed: | integer |
|
| Default: | 0 |
|
chan |
| A channel in the scantable
| |
| allowed: | integer |
|
| Default: | 0 |
|
dictionary array
Example
s.chan2data(rowno=0,chan=0)
({’unit’: ’channel’, ’value’: 0.0}, {’unit’: ’K’, ’value’: 1.7028001546859741})
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