NRAO Home > CASA > CASA Toolkit Reference Manual
regionmanager.fromtextfile - Function

1.1.2 Create a region dictionary from a region text file.


Description

This function reads a text file containing region descriptions and converts it to a python dictionary.

Arguments





Inputs

filename

List of text file containing the region description

allowed:

string

Default:

shape

Image shape.

allowed:

intArray

Default:

0

csys

Coordinate system record. Defaults to coordinate system used in rg.setcoordinates()

allowed:

record

Default:

Returns
record
__________________________________________________________________


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