casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables
Public Member Functions | Private Attributes | Static Private Attributes
sdsmooth_pg.sdsmooth_pg_ Class Reference

List of all members.

Public Member Functions

def __init__
def __call__

Private Attributes

 __bases__
 __doc__

Static Private Attributes

string __name__

Detailed Description

Definition at line 18 of file sdsmooth_pg.py.


Constructor & Destructor Documentation

Definition at line 21 of file sdsmooth_pg.py.


Member Function Documentation

def sdsmooth_pg.sdsmooth_pg_.__call__ (   self,
  infile = None,
  antenna = None,
  scanaverage = None,
  scanlist = None,
  field = None,
  iflist = None,
  pollist = None,
  kernel = None,
  kwidth = None,
  chanwidth = None,
  verify = None,
  outfile = None,
  outform = None,
  overwrite = None,
  plotlevel = None,
  async = None 
)
ASAP SD task: do smoothing of spectra

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 spectrum before and after smoothing.

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.  

Definition at line 26 of file sdsmooth_pg.py.

References vla_uvfits_line_sf.verify.


Member Data Documentation

Definition at line 22 of file sdsmooth_pg.py.

Definition at line 23 of file sdsmooth_pg.py.

string sdsmooth_pg.sdsmooth_pg_.__name__ [static, private]

Definition at line 19 of file sdsmooth_pg.py.


The documentation for this class was generated from the following file: