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

1.3.2 Get an array of the unique times for the specified field.


Description

Get an array of the unique times for the specified field.

Arguments





Inputs

field

Zero-based field ID for which to return the times.

allowed:

int

Default:

-1

Returns
doubleArray

Example

 
    msmd.open("my.ms")  
    # get the times associated with field 3  
    times = msmd.timesforfields(3)  
    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