NRAO Home > CASA > CASA Task Reference Manual

0.1.96 sdgaincal

Requires:

Synopsis
MS SD gain calibration task

Description



Arguments





Inputs

infile

name of input SD dataset (must be MS)

allowed:

string

Default:

calmode

gain calibration mode

allowed:

string

Default:

doublecircle

radius

radius of central region to be used for calibration

allowed:

any

Default:

variant

smooth

smooth data or not

allowed:

bool

Default:

True

antenna

select data by antenna name or ID, e.g. ’PM03’

allowed:

string

Default:

field

select data by field IDs and names, e.g. ’3C2*’ (” = all)

allowed:

string

Default:

spw

select data by spw IDs (spectral windows), e.g., ’3,5,7’ (” = all)

allowed:

string

Default:

scan

select data by scan numbers, e.g. ’21~23’ (”=all)

allowed:

string

Default:

intent

select data by observation intent, e.g. ’OBSERVE_TARGET#ON_SOURCE’ (”=all)

allowed:

string

Default:

applytable

(List of) sky and/or tsys tables for pre-application

allowed:

any

Default:

variant

outfile

name of output caltable

allowed:

string

Default:

overwrite

overwrite the output file if already exists

allowed:

bool

Default:

False

Returns
void

Example

 
Keyword arguments:  
infile -- Name of input SD dataset  
calmode -- Gain calibration mode. Currently, only ’doublecircle’ is supported.  
        options: ’doublecircle’  
        default: ’doublecircle’  
    >>> calmode expandable parameter  
        radius -- Radius of the central region for double circle calibration.  
                  Default (’’) is a radius of the primary beam. If numeric value  
                  is given, it is interpreted as a value in arcsec.  
                default: ’’  
                options: ’20arcsec’, 20.0  
        smooth -- Whether apply smoothing during gain calibration or not.  
                options: (bool) True, False  
                default: True  
antenna -- select data by antenna name or ID  
        default: ’’ (use all antennas)  
        example: ’PM03’  
field -- select data by field IDs and names  
        default: ’’ (use all fields)  
        example: field=’3C2*’ (all names starting with 3C2)  
                 field=’0,4,5~7’ (field IDs 0,4,5,6,7)  
                 field=’0,3C273’ (field ID 0 or field named 3C273)  
        this selection is in addition to the other selections to data  
spw -- select data by spw IDs (spectral windows)  
        NOTE this task only supports spw ID selction and ignores channel  
        selection.  
        default: ’’ (use all spws and channels)  
        example: spw=’3,5,7’ (spw IDs 3,5,7; all channels)  
                 spw=’<2’ (spw IDs less than 2, i.e., 0,1; all channels)  
                 spw=’30~45GHz’ (spw IDs with the center frequencies in range 30-45GHz; all channels)  
        this selection is in addition to the other selections to data  
        NOTE spw input must be ’’ (’’= all) in calmode=’tsys’.  
scan -- select data by scan numbers  
        default: ’’ (use all scans)  
        example: scan=’21~23’ (scan IDs 21,22,23)  
        this selection is in addition to the other selections to data  
        NOTE scan input must be ’’ (’’= all) in calmode=’tsys’.  
intent -- select data by observational intent, also referred to as ’scan intent’  
        default: ’’ (use all scan intents)  
        example: intent=’*ON_SOURCE*’ (any valid scan-intent expression accepted by the MSSelection module can be specified)  
        this selection is in addition to the other selections to data  
applytable -- List of sky/Tsys calibration tables you want to pre-apply.  
                default: ’’  
outfile -- Name of output caltable.  
        default: ’’ (<infile>_<suffix> for calibration)  
overwrite -- overwrite the output caltable if already exists  
        options: (bool) True,False  
        default: False  
 
 
DESCRIPTION:  
 
 


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