importasap
- importasap(infile, outputvis='', flagbackup=True, overwrite=False, parallel=False)[source]
Convert ASAP Scantable data into a CASA visibility file (MS)
[Description] [Examples] [Development] [Details]
- Parameters
infile (path) - Name of input ASAP Scantable data
outputvis (string=’’) - Root name of the ms to be created. Note the .ms is NOT added.
flagbackup (bool=True) - Back up flag column before applying flags.
overwrite (bool=False) - Over write an existing MS(s)
parallel (bool=False) - Turn on parallel execution
- Description
This is the task to convert single-dish scantable data format (ATNF Spectral Analysis Package, ASAP) into a CASA visibility data format (MeasurementSet, MS) to enable processing of scantable-format datasets (e.g. Parkes, Mopra Telescopes at ATNF).
Prior to CASA 4.5, most of the ALMA data reduction process was done in Scantable format. Later CASA versions shifted towards eliminating the dependence on Scantable format. From CASA 5.0, no processing/reduction is done in Scantable format, and data with Scantable format must be transformed into MS format before reduction.
- Examples
To convert an ASAP (scantable) based format file into MeasurementSet format:
importasap(infile='mydata.asap', outputvis='mydata.ms', flagbackup=True, overwrite=False, parallel=False)
By default, importasap preserves flags, will not overwrite any existing files with the output, and will not engage parallel processing in the conversion (which would otherwise make the conversion faster).
- Development
No additional development details
- Parameter Details
Detailed descriptions of each function parameter
infile (path)
- Name of input ASAP Scantable dataDefault: noneExample: infile=’mydata.asap’outputvis (string='')
- Name of output visibility fileDefault: ‘’ (same as vis)Example: outputvis=’myms.ms’NOTE: Note the .ms is NOT addedflagbackup (bool=True)
- Back up flag column before applying flags.Default: TrueOptions: True|Falseoverwrite (bool=False)
- Over write an existing MS(s)Default: False (do not overwrite)Options: False|Trueparallel (bool=False)
- Turn on parallel executionDefault: False (serial execution)Options: False|True