casatools

The CASA toolkit is the foundation of the functionality in the package, and consists of a suite of C++ classes that wrapped and imported in Python. The tools are typically used inside casatasks, but they can also be used directly by advanced users to perform operations that are not available through the tasks. Tools are typically instantiated as stateful objects in Python.

Tool Listing

agentflagger

Tool for manual and automated flagging

atcafiller

Filler for ATNF/ATCA RPFITS data

atmosphere

Atmosphere model

calanalysis

Get and fit data from a calibration table (CASA 3.4 and later).

calibrater

Synthesis calibration (self- and cross-)

componentlist

A tool for the manipulation of groups of components

coordsys

Operations on CoordinateSystems

functional

Functionals handling

image

Operations on images

imager

tool for synthesis imaging

linearmosaic

combining images in a weighted fashion

logsink

tool for logsink

measures

measures tool

ms

Operations on measurement sets

msmetadata

Operations to retrieve metadata from a measurment set

quanta

quanta tool handles units and quantities

regionmanager

Create and manipulate regions of interest

sakura

New single dish tool interface using sakura

sdm

Manipulate or examine SDM datasets

simulator

Tool for simulation

singledishms

New single dish tool interface to process an MS

synthesismaskhandler

tool for mask handling in sysnthesis imaging

synthesisutils

tool for synthesis imaging

table

Access tables from casapy

utils

Utility component, verified, xml translator

Special Cases

In some cases, the state within a tool must be maintained singularly for an entire CASA session. In these cases, a singleton object is instantiated and provided directly to the user.

ctsys

Singleton object from utils tool. See utils tool documentation for methods

Examples

ctsys is already instantiated and provides access to the methods of the utils tool class. For example:

>>> from casatools import ctsys   # modular casa only, already imported in monolithic
>>> ctsys.hostinfo()
casalog

Singleton object from logsink tool. See logsink tool documentation for methods

Examples

casalog is already instantiated and provides access to the methods of the logsink tool class. For example:

>>> from casatools import casalog   # modular casa only, already imported in monolithic
>>> casalog.post('my example log message', 'INFO')