NRAO Home > CASA > CASA Toolkit Reference Manual
msmetadata.pointingdirection - Function

1.3.2 Get the pointing direction for antennas at the specified row number in the main MS table.


Description

Get the pointing direction for antennas at the specified row number in the main MS table. Returns a record containing the time, antenna IDs and corresponding pointing directions.

Arguments





Inputs

rownum

Row number in the main MS table.

allowed:

int

Default:

0

interpolate

Interpolate pointings in case the interval in the main table is shorter than that in the pointing table (often the case in fast-scanning in single dish observaitions)

allowed:

bool

Default:

false

initialrow

Initial guess of row index in pointing table to start search.

allowed:

int

Default:

0

Returns
record

Example

 
                msmd.open("my.ms")  
                # get the pointing directions for row ID 500  
                dirs = msmd.pointingdirection(500)  
                msmd.done()  

__________________________________________________________________


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