NRAO Home > CASA > CASA Toolkit Reference Manual
table.fromfits - Function

3.2.1 Create a CASA table from a binary FITS file


Description

Create a table from binary FITS format. This generates a CASA table from the binary FITS table in the given HDU (header unit) of the FITS file. Note that other FITS formats (e.g. Image FITS and UVFITS) are read by other means.
It is possible to specify the storage manager to use for the table:
standard is the default storage manager.
incremental is efficient for slowly varying data.
memort is for in memory use for e.g to grab given columns via getcol.

Arguments





Inputs

tablename

Name of table to be created

allowed:

string

Default:

fitsfile

Name of FITS file to be read

allowed:

string

Default:

whichhdu

Which HDU to read (0-relative to primary HDU i.e. 1 is the smallest valid value)

allowed:

int

Default:

1

storage

Storage manager to use (standard or incremental or memory)

allowed:

string

Default:

standard

convention

Convention to use (sdfits or none)

allowed:

string

Default:

none

nomodify

Open Read-only?

allowed:

bool

Default:

true

ack

Acknowledge creations, etc

allowed:

bool

Default:

true

Returns
table
__________________________________________________________________


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