nraonrao
 
NRAO Home > CASA > TaskRef

0.1.56 sdcoadd

Requires:

Synopsis ASAP SD task: coadd multiple scantables into one Description

Coadd multiple scantables into one

Note: only works if the data structures are the same (nif, npol, nchan...) Task Version 2008-01-29 TT

Arguments





Inputs

sdfilelist

list of names of input SD dataset

allowed:

stringArray

Default:

fluxunit

units for line flux (K,Jy) (”=current)

allowed:

string

Default:

telescopeparm

param of telescope for flux conversion

allowed:

any

Default:

variant

specunit

units for spectral axis (channel,km/s,GHz)

allowed:

string

Default:

frame

frequency reference frame, e.g. LSRK (”=current)

allowed:

string

Default:

doppler

doppler convention, e.g. RADIO (”=current)

allowed:

string

Default:

scanaverage

average integs within scans (True,False)

allowed:

bool

Default:

False

timeaverage

average scans over time (True,False)

allowed:

bool

Default:

False

polaverage

average over polarizations (True,False)

allowed:

bool

Default:

False

outfile

output file name

allowed:

string

Default:

outform

output file format (ASCII,MS,SDFITS,ASAP)

allowed:

string

Default:

ASAP

overwrite

overwrite the output file if already exists

allowed:

bool

Default:

False

Returns
void

Example

 
  Keyword arguments:  
        sdfilelist -- list of names of input SD dataset  
        telescopeparm -- the telescope characteristics  
 
                options: (str) name or (list) list of gain info  
                default: ’’ (none set)  
                example: if telescopeparm=’’, it tries to get the telescope  
                         name from the data.  
                         Full antenna parameters (diameter,ap.eff.) known  
                         to ASAP are  
                         ’ATPKSMB’, ’ATPKSHOH’, ’ATMOPRA’, ’DSS-43’,  
                         ’CEDUNA’,’HOBART’ and ’GBT’.  
                         telescopeparm=[104.9,0.43] diameter(m), ap.eff.  
                         telescopeparm=[0.743] gain in Jy/K  
                         telescopeparm=’FIX’ to change default fluxunit  
                         see description below  
 
        fluxunit -- units for line flux  
                options: ’K’,’Jy’,’’  
                default: ’’ (keep current fluxunit of the first data in the sdfilelist)  
        specunit -- units for spectral axis  
                options: (str) ’channel’,’km/s’,’GHz’,’MHz’,’kHz’,’Hz’  
                default: ’’ (=current)  
                example: this will be the units for masklist  
        frame -- frequency frame for spectral axis  
                options: (str) ’LSRK’,’REST’,’TOPO’,’LSRD’,’BARY’,  
                         ’GEO’,’GALACTO’,’LGROUP’,’CMB’  
                default: currently set frame in scantable  
                WARNING: frame=’REST’ not yet implemented  
        doppler -- doppler mode  
                options: (str) ’RADIO’,’OPTICAL’,’Z’,’BETA’,’GAMMA’  
                default: currently set doppler in scantable  
        scanaverage -- average integrations within scans  
                options: (bool) True,False  
                default: False  
                example: if True, this happens in read-in  
                         For GBT, set False!  
        timeaverage -- average times for multiple scan cycles  
                options: (bool) True,False  
                default: False  
                example: if True, this happens after calibration  
        polaverage -- average polarizations  
                options: (bool) True,False  
                default: False  
        outfile -- Name of output file  
                default: ’’ (scantable)  
                example:  
        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  
                WARNING: if outform=’ASCII’, this parameter is ignored  
 
 
 
        DESCRIPTION:  
 
        Task sdcoadd 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 sdfilelist if not  
        specified.  
        timaverage and polaverage are used to perform time  
        and polarization averaging over scans on the co-added scantable before  
        saving to a file on disk.  
 
 

Please send any comments or questions about CASA or AIPS++ to aips2-requests@nrao.edu

Copyright © 2008 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

Updated daily during alpha development.