NRAO Home > CASA > CASA Toolkit Reference Manual
componentlist.asciitocomponentlist - Function

1.2.1 Create a componentlist from an ascii file (Not implemented yet)


Description

This constructor will allow conversion of a number of ascii-file-based formats to componentlists.

Arguments





Inputs

filename

Name of output component list table

allowed:

string

Default:

asciifile

Name of input ascii file

allowed:

string

Default:

refer

Input reference frame

allowed:

string

Default:

B1950

J2000

format

Name of format (only ST supported)

allowed:

string

Default:

ST

direction

Direction measure (for relative coordinates)

allowed:

record

Default:

spectrum

Default spectrum field, valid spectrum field [type=”Constant”, frequency=[type=”frequency” , refer=”LSR” , m0=[unit=”GHz” , value=1.0]]

allowed:

record

Default:

flux

Default flux field, valid flux field [value=[0.0, 0.0, 0.0, 0.0], unit=’Jy’, polarization=”Stokes”]

allowed:

record

Default:

log

Send a message to the logger

allowed:

bool

Default:

true

Returns
int
__________________________________________________________________


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