NRAO Home > CASA > CASA Toolkit Reference Manual
ms.open - Function

1.3.1 Attach the ms tool to a measurement set table


Description

Use this function when you have detached (using the close function) the ms tool from a measurement set table and wish to reattach to another measurement set table.

If check=true, additional referential integrity checks on the MS are run. If any of these fail, an exception is thrown and the MS is not open (since it is not a valid MS).

Arguments





Inputs

thems

Name of the measurement set table to open

allowed:

string

Default:

nomodify

prevent changes to the measurement set

allowed:

bool

Default:

true

lock

lock the table for exclusive use by this tool

allowed:

bool

Default:

false

check

Run additional internal integrity checks on the MS.

allowed:

bool

Default:

false

Returns
bool

Example

 
 
       ms.open(’3C273XC1.MS’)  
       ms.close()  
       ms.open("anotherms", nomodify=False, lock=False)  
 

__________________________________________________________________


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