sdsave – Save the sd spectra in various format – single dish task
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 field names, spw ids, time ranges, scan numbers, and polarization ids. The ASAP (scantable) format is recommended for further analysis using Sd tool or tasks except imaging. For further imaging using imager or sdimaging, save the data to the Measurement Set (MS2).
Parameters
Parameter |
Default |
Description |
---|---|---|
infile |
|
|
splitant |
|
split output file by antenna [True, False] |
antenna |
|
|
getpt |
|
fill DIRECTION column properly [True, False] |
field |
|
|
spw |
|
|
timerange |
|
|
scan |
|
|
pol |
|
|
beam |
|
|
restfreq |
|
|
outfile |
|
|
outform |
|
output file format ['ASAP', 'MS2', 'ASCII', or 'SDFITS'] |
fillweight |
|
fill the WEIGHT and SIGMA columns for output MS [True, False] |
overwrite |
|
overwrite the output file if already exists [True, False] |
Parameter Explanations
infile
''
name of input SD dataset
splitant
False
split output file by antenna (only effective for MS input)
antenna
int(0)
select an antenna name or ID, e.g. 'PM03' (only effective for MS input)
getpt
True
fill DIRECTION column properly (True), or reuse POINTING table in original MS (False) (only effective for MS input)
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)
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)
beam
''
select data by beam IDs, e.g. '0,1' (''=all)
restfreq
''
the rest frequency, e.g. '1.41GHz' (default unit: Hz) (see examples in help)
outfile
''
name of output file (See a WARNING in help)
outform
'ASAP'
output file format (See a WARNING in help)
fillweight
False
fill the WEIGHT and SIGMA columns for output MS
overwrite
False
overwrite the output file if already exists