1. casa
  2. casa6

Source

readme.md

CASAtools

If you are looking for the place to check out CASA with Git, please refer to the top level directory of this repository.

CASAtools is a self-contained python module that provides the tools from the CASA project.

Building casatools

Please refer to the top level readme.md.

Testing casatools

A quick test to see if the casatools installation is successful is to try loading the CASAtools module:

$ python3
Python 3.8.13 (default, Nov  8 2022, 17:19:05) 
[GCC 8.5.0 20210514 (Red Hat 8.5.0-15)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from casatools import image
>>> ia = image( )
>>> ia.fromshape("mytest.im",[20,20])
2019-03-25 16:15:08     INFO    ImageFactory::createImage       Created Paged image 'mytest.im' of shape [20, 20] with float valued pixels.
True
>>>
-bash-4.2$

Available Tools

Tool NameDescription
agentflaggerTool for manual and automated flagging
atcafillerFiller for ATNF/ATCA RPFITS data
atmosphereAtmosphere model
calanalysisGet and fit data from a calibration table (CASA 3.4 and later).
calibraterSynthesis calibration (self- and cross-)
componentlistA tool for the manipulation of groups of components
coordsysOperations on CoordinateSystems
functionalFunctionals handling
imagemetadataOperations on imagemetadata
imageOperations on images
imagepolPolarimetric analysis of images
imagertool for synthesis imaging
iterbotsinktool for synthesis imaging
logsinktool for logsink
measuresmeasures tool
miriadfillerTool for the importmiriad task
msmetadataOperations to retrieve metadata from a measurment set
msOperations on measurement sets
mstransformerTool to apply spw and frame transformations in MS
quantaquanta tool handles units and quantities
regionmanagerCreate and manipulate regions of interest
sakuraNew single dish tool interface using sakura
sdmManipulate or examine SDM datasets
sidebandseparatorTool for sideband separation
simulatorTool for simulation
singledishmsNew single dish tool interface to process an MS
spectrallinespectral line tool
synthesisdeconvolvertool for synthesis imaging
synthesisimagertool for synthesis imaging
synthesisimstoretool for synthesis imaging
synthesismaskhandlertool for mask handling in sysnthesis imaging
synthesisnormalizertool for synthesis imaging
synthesisutilstool for synthesis imaging
tableAccess tables from casapy
vlafillertool for VLA filler tasks
vpmanagerTool for specifying voltage patterns and primary beams
wvrTool for the analysis of Water Vapour Radiometer data

XML

Tool Specification

    <tool name="tool-name">
        <shortdescription>one-line description</shortdescription>
        <description>paragraph description</description>

        <needs>tool-name</needs>

        <code>
            <include>path to headerfile</include>
            <private>
                <include>path to headerfile</include>
            </private>
        </code>

        <method name="method-name">
            <shortdescription>one-line description</shortdescription>
            <description>paragraph description</description>
            <input>
                <param name="param-name">
                    <description>short description</description>
                    <type units="unit-name" mustexist="true">type-name</type>
                    <value>value-content</value>
                </param>
            </input>
            <output>
                <param name="param-name">
                    <description>short description</description>
                    <type units="unit-name" mustexist="true">type-name</type>
                    <value>value-content</value>
                </param>
            </output>

            <returns type="type-name"/>
        </method>
    </tool>
  • Red text indicate unique names. They may be developer specified (e.g. tool-name), they may be predefined enumerations (e.g. unit-name), or they may be both (e.g. type-name).
  • Blue XML elements or attributes indicates optional items (zero or one).
  • Green XML elements can be repeated.
  • Black XML elements or attributes must be supplied (once)

Add shortcut

Everything looks good. We'll let you know here if there's anything you should know about.