NRAO Home > CASA > CASA Task Reference Manual

0.1.104 sdcoaddold

Requires:

Synopsis
Coadd multiple scantables into one

Description

Task sdcoaddold performs co-add multiple single dish spectral data given by a list of spectral data file names in any of the following formats, ASAP, MS2,SDFITS, and ASCII. The units of line flux, the units of spectral axis, frame, and doppler are assumed to be those of the first one in the infiles.

The task tries to combine spws according to a tolerance value specified by the parameter freqtol. Default tolerance is ’0Hz’, which means spws are combined only when spectral setup are the same. Note that, except for first data in the infiles, spw is ignored if there are no corresponding spectral data in the main table.



Arguments





Inputs

infiles

list of names of input SD dataset

allowed:

stringArray

Default:

antenna

select an antenna name or ID, e.g. ’PM03’ (only effective for MS input)

allowed:

any

Default:

variant 0

freqtol

Frequency shift tolerance for considering data as the same spwid

allowed:

any

Default:

variant

outfile

name of output file (See a WARNING in help)

allowed:

string

Default:

outform

output file format (See a WARNING in help)

allowed:

string

Default:

ASAP

overwrite

overwrite the output file if already exists (See a WARNING in help)

allowed:

bool

Default:

False

Returns
void

Example

 
------------------  
Keyword arguments  
------------------  
infiles -- list of names of input SD dataset  
antenna -- select an antenna name or ID  
        default: 0  
        example: ’PM03’  
        NOTE this parameter is effective only for MS input  
freqtol -- Frequency shift tolerance for considering data to be in the same  
           spwid.  The number of channels must also be the same.  
        default: ’’ == 0 Hz (combine spwid only when frequencies are the same)  
        example: freqtol=’10MHz’ will not combine spwid unless they are  
           within 10 MHz.  
        Note: This option is useful to combine spectral windows with very slight  
           frequency differences caused by Doppler tracking, for example.  
outfile -- name of output file  
        default: ’’ (<infile>_coadd)  
outform -- format of output file  
        options: ’ASCII’,’SDFITS’,’MS’,’ASAP’  
        default: ’ASAP’  
        example: the ASAP format is easiest for further sd  
                 processing; use MS for CASA imaging.  
                 If ASCII, then will append some stuff to  
                 the outfile name  
overwrite -- overwrite the output file if already exists  
        options: (bool) True,False  
        default: False  
        NOTE this parameter is ignored when outform=’ASCII’  
 
-------  
WARNING  
-------  
For the GBT raw SDFITS format data as input:  
SDtasks are able to handle GBT raw SDFITS format data since the  
data filler is available. However, the functionality is not well  
tested yet, so that there may be unknown bugs.  


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