|
|||
NRAO Home > CASA > CASA Toolkit Reference Manual |
|
sd.scantable.get_coordinate - Function
5.1.2 Return the spectral coordinate for a given row as a coordinate object
Description
Return the (spectral) coordinate for a a given ’rowno’.
Notes:
- This coordinate is only valid until a scantable method modifies the frequency axis.
-
This
coordinate
does
contain
the
original
frequency
set-up
NOT
the
new
frame.
The
conversions
however
are
done
using
the
user
specified
frame
(e.g.
LSRK/TOPO).
To
get
the
’real’
coordinate,
use
scantable.freq_align
first.
Without
it
there
is
no
closure,
i.e.::
c = myscan.get_coordinate(0)
c.to_frequency(c.get_reference_pixel()) != c.get_reference_value()
Arguments
Inputs |
| ||
rowno |
| The row number for the spectral coordinate
| |
| allowed: | integer |
|
| Default: |
|
|
coordinate
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