[ Basic Info | References | User Guide ]
Basic Information on sinpoly
Task: sinpoly
Purpose: Fit polynomial baselines to autocorrelation data.
Categories: uv analysis
SINPOLY - Fit polynomial baselines to autocorrelation data.
Polynomial fits for each antenna and polarization are subtracted
from the output averaged data.
Key: vis
The name of the input uv-data file.
Key: select
The normal uv selection commands. The default is use everything.
See the help on select for more details.
Key: line
The normal uv linetype in the form:
line,nchan,start,width,step
See the help on line for more details. The default is all channels.
The output will consist of only spectral data.
Key: interval
Time averaging interval, in minutes. The default is 0. (i.e. no
averaging).
Key: out
The name of the output uv data set. No default.
Key: options
This gives extra processing options. Several options can be given,
each separated by commas. They may be abbreviated to the minimum
needed to avoid ambiguity. Possible options are:
'nocal' Do not apply the gains file. By default, SINPOLY
applies the gains file in copying the data.
'nopol' Do not apply polarization corrections. By default
SINPOLY corrects for polarization cross-talk.
'window' Fit polynomial to each spectral window.
Default is to fit all channels.
'dsb' Fit polynomial to each sideband for double sideband
spectra. 'dsb' and 'window' are mutually exclusive.
Key: device
PGPLOT device for polynomial fits. The default is to ask user.
Key: nxy
Two values. Number of plot windows in x and y, Default nx=1, ny=nx.
Key: npoly
The order of the Lagrange polynomial fit to the averaged uv-data.
Different values can be given for each window.
The maximum is 8th order polynomial. Default 0,0,0,0,0,0,0,0,0,0,0,0
Key: badchan
Number of ranges of bad channels followed by list of up to 20 pairs
of numbers to specify range of channels to exclude in polyfit.
e.g. to exclude 2 center channels in eight 64-channel windows, use:
badchan=8,32,33,96,97,160,161,224,225,288,289,352,353,416,417,480,481
Key: endchan
Number of channels to drop from window edges in polyfit. Default=4.