NRAO Home > CASA > CASA Toolkit Reference Manual
sd.scantable.get_directionval - Function

5.1.2 Get a list of positions on the sky as a float
Description

Get a list of Positions on the sky (direction) for the observations. Return a float for each integration in the scantable. The unit is radian.

To get string expression for positions, use get_direction.

Arguments





Inputs

row

Row no of integration

allowed:

integer

Default:

-1 (all rows)





Returns
float array

Example

   s=sd.scantable(’OrionS_rawACSmod_cal’,average=False)  
   # get_direction() returns string expression of position  
   s.get_direction(0)  
   ’05:35:13.5 -05.24.08.2’  
   # s.get_directionval() returns float value of position  
   s.get_directionval(0)  
   [1.4626913601468896, -0.0942875343295448]


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