nraonrao
 
NRAO Home > CASA > TaskRef

0.1.63 sdsave

Requires:

Synopsis ASAP SD task: save the sd spectra in various format Description

ASAP SD task (based on the ALMATST5 recommendations): save the sd spectra in various format

Task Version 2008-01-29 TT

Arguments





Inputs

sdfile

name of input SD dataset

allowed:

string

Default:

scanlist

list of scan to process (e.g. [20,21,22,23])

allowed:

intArray

Default:

field

string for selection by source name

allowed:

string

Default:

iflist

list of IF ids to select (e.g. [0,1])

allowed:

intArray

Default:

pollist

list of polarization ids to select (e.g. [0,1])

allowed:

intArray

Default:

scanaverage

average integs within scans (True,False)

allowed:

bool

Default:

False

timeaverage

average scans over time (True,False)

allowed:

bool

Default:

False

tweight

weighting for time averaging

allowed:

string

Default:

none

polaverage

average over polarizations (True,False)

allowed:

bool

Default:

False

pweight

allowed:

string

Default:

none

outfile

output file name

allowed:

string

Default:

outform

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

allowed:

string

Default:

ASAP

overwrite

overwrite the output file if already exists

allowed:

bool

Default:

False

Returns
void

Example

 
  Keyword arguments:  
        sdfile -- name of input SD dataset  
        scanlist -- list of to process  
                default: [] (use all scans)  
                example: [21,22,23,24]  
                         this selection is in addition to field,  
                         iflist, and pollist  
        field -- selection string for selecting scans by name  
                default: ’’ (no name selection)  
                example: ’FLS3a*’  
                         this selection is in addition to scanlist,  
                         iflist, and pollist  
        iflist -- list of IF id numbers to select  
                default: [] (use all IFs)  
                example: [15]  
                         this selection is in addition to scanlist,  
                         field, and pollist  
        pollist -- list of polarization id numbers to select  
                default: [] (use all polarizations)  
                example: [1]  
                         this selection is in addition to scanlist,  
                         field, and iflist  
        scanaverage --  average integrations within scans  
                options: (bool) True,False  
                default: False  
                example: if True, average integrations before it is saved  
        timeaverage -- average times for multiple scan cycles  
                options: (bool) True,False  
                default: False  
                >>>timeaverage expandable parameter  
                 tweight -- weighting for time average  
                         options: ’none’  
                                  ’var’   (1/var(spec) weighted)  
                                  ’tsys’  (1/Tsys**2 weighted)  
                                  ’tint’  (integration time weighted)  
                                  ’tintsys’  (Tint/Tsys**2)  
                                  ’median’  ( median averaging)  
                         default: ’none’  
 
        polaverage -- average polarizations  
                options: (bool) True,False  
                default: False  
                >>>polaverage expandable parameter  
                 pweight -- weighting for polarization average  
                         options: ’none’  
                                  ’var’  (1/var(spec) weighted)  
                                  ’tsys’ (1/Tsys**2 weighted)  
        outfile -- name of output dataset  
                default: ’’  
        outform -- output data format  
                default: ’ASAP’  
                Options: ’ASAP’, ’MS2’, ’SDFITS’, ’ASCII’  
        overwrite -- overwrite the output file if already exists  
                options: (bool) True,False  
                default: False  
                WARNING: if outform=’ASCII’, this parameter is ignored  
 
 
        DESCRIPTION:  
 
        Task sdsave writes the single dish data to a disk file in  
        specified format (ASAP, MS2, SDFITS, ASCII). It is possible to  
        save the subset of the data by selecting scan numbers, IF ids,  
        polarization ids and field names. The ASAP (scantable) format  
        is recommended for further analysis using Sd tool. For further  
        imaging using imager, save the data to the Measurement Set (MS2).  
 

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.