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

1.3.2 Get the values of the TIME column from the SOURCE table.


Description

Get the values of the TIME column from the SOURCE table. Returns a dictionary in which the keys are the associated row numbers, represented as strings, in the SOURCE table. Each value in the returned dictionary is a valid time quantity.

Arguments





Returns
record

Example

 
    msmd.open("my.ms")  
    # get TIME column values from the SOURCE table  
    sourcetimes = msmd.sourcetimes()  
    msmd.done()  
    # the time associated with zero-based row number 10  
    time10 = sourcetimes["10"]  

__________________________________________________________________


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