sdbaseline2 – Fit/subtract a spectral baseline – single dish task
Description
Task sdbaseline2 performs baseline fitting/removal for single-dish spectra.
Parameters
Parameter |
Default |
Description |
|---|---|---|
infile |
|
|
antenna |
|
|
row |
|
|
field |
|
|
spw |
|
|
restfreq |
|
|
frame |
|
frequency reference frame ['LSRK', 'TOPO', 'LSRD', 'BARY', 'GALACTO', 'LGROUP', or 'CMB'] (''=current) |
doppler |
|
doppler convention ['RADIO', 'OPTICAL', 'Z', 'BETA', or 'GAMMA'] (''=current) |
timerange |
|
|
scan |
|
|
pol |
|
|
blmode |
|
|
blparam |
|
|
bltable |
|
|
outfile |
|
|
overwrite |
|
overwrite the output file if already exists [True, False] |
keeprows |
|
Parameter Explanations
infile
''
name of input SD dataset
antenna
int(0)
select an antenna name or ID, e.g. 'PM03' (only effective for MS input)
row
''
select data by row IDs, e.g. '3,5,7' (''=all)
field
''
select data by field IDs and names, e.g. '3C2*' (''=all)
spw
''
select data by IF IDs (spectral windows), e.g. '3,5,7' (''=all)
restfreq
''
the rest frequency, e.g. '1.41GHz' (default unit: Hz) (see examples in help)
frame
''
frequency reference frame (''=current)
doppler
''
doppler convention (''=current). Effective only when spw selection is in velocity unit.
timerange
''
select data by time range, e.g. '09:14:0~09:54:0' (''=all) (see examples in help)
scan
''
select data by scan numbers, e.g. '21~23' (''=all)
pol
''
select data by polarization IDs, e.g. '0,1' (''=all)
blmode
'subtract'
baselining mode ('subtract' or 'apply')
blparam
*UNKNOWN*
per spectrum fit parameters
bltable
''
name of baseline table
outfile
''
name of output file (See a WARNING in help)
overwrite
False
overwrite the output file if already exists
keeprows
False
keep all rows of input scantable in output table [True, False]