NRAO Home > CASA > CASA Cookbook and User Reference Manual
8.2.1.2 sdsmooth
Keyword arguments:  
infile -- name of input SD dataset  
antenna -- antenna name or id (only effective for MS input).  
scanaverage -- average integrations within scans  
        options: (bool) True,False  
        default: False  
        example: if True, this happens in read-in  
                 For GBT, set False!  
scanlist -- list of scan numbers 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,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  
kernel -- type of spectral smoothing  
        options: ’hanning’,’gaussian’,’boxcar’,’regrid’  
        default: ’hanning’  
 
    >>>kernel expandable parameter  
         kwidth -- width of spectral smoothing kernel  
                 options: (int) in channels  
                 default: 5  
                 example: 5 or 10 seem to be popular for boxcar  
                          ignored for hanning (fixed at 5 chans)  
                          (0 will turn off gaussian or boxcar)  
         chanwidth -- channel width of regridded spectra  
                 default: ’5’ (in channels)  
                 example: ’500MHz’, ’0.2km/s’  
 
verify -- verify the results of smoothing  
        options: (bool) True,False  
        default: False  
        WARNING: Currently this just asks whether you accept  
                 the displayed smoothing and if not, continues  
                 without smoothing.  
        Note: verification is not yet available for kernel=’regrid’  
outfile -- Name of output ASAP format(scantable) file  
        default: ’’ (<infile>_sm)  
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  
plotlevel -- control for plotting of results  
        options: (int) 0=none, 1=some, 2=more, <0=hardcopy  
        default: 0 (no plotting)  
        example: plotlevel<0 as abs(plotlevel), e.g.  
                 -1 => hardcopy of final plot (will be named  
                 <outfile>_smspec.eps)

DESCRIPTION:

Task sdsmooth performs smoothing of the single-dish spectra. Set plotlevel >= 1 to plot the spectrum before and after smoothing.

See the sdcal description for note on GBT raw SDFITS format data.

R3.4 New Features:
Channel binning is available by setting kernel=’regrid’.


More information about CASA may be found at the CASA web page

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