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
Tool for manual and automated flagging |
|
Filler for ATNF/ATCA RPFITS data |
|
Atmosphere model |
|
Get and fit data from a calibration table (CASA 3.4 and later). |
|
Synthesis calibration (self- and cross-) |
|
A tool for the manipulation of groups of components |
|
Operations on CoordinateSystems |
|
Functionals handling |
|
Operations on images |
|
tool for synthesis imaging |
|
combining images in a weighted fashion |
|
tool for logsink |
|
measures tool |
|
Operations on measurement sets |
|
Operations to retrieve metadata from a measurment set |
|
quanta tool handles units and quantities |
|
Create and manipulate regions of interest |
|
New single dish tool interface using sakura |
|
Manipulate or examine SDM datasets |
|
Tool for simulation |
|
New single dish tool interface to process an MS |
|
tool for mask handling in sysnthesis imaging |
|
tool for synthesis imaging |
|
Access tables from casapy |
|
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')