appendantab
- appendantab(vis, outvis, antab, overwrite=False, append_tsys=True, append_gc=True)[source]
Append syscal and gaincurve data from an antab file
[Description] [Examples] [Development] [Details]
- Parameters
Allow users to append information available in antab files directly to a ms. Use a ms generated from importfitsidi and then use this task to append tsys and gain curve information to the ms.
Warning
WARNING: The parser for the antab files can be quite strict which may effect some instruments disproportionately. If you had success with the vlbi tools version this parser is the same. This task also MUST be used with importfitsidi filled data. It is also recommended that, if using an ms generated from multiple fitsidi files, constobsid should be set to True if the resulting ms will be used in conjunction with this task.
Parameters
vis
Specify the name of the MS created from a fits file as a string
outvis
Specify the name of the output vis that will have the antab information appended to it
- antab
Specify the antab file to be appended to the vis as a string
overwrite
If True then the task will overwrite existing values in the GAIN_CURVE and SYSCAL tables if overlapping data is present in the antab file. Data in the antab file that does not overlap with a value in existing tables will be appended as normal.
append_tsys
Using the tsys information available in the antab file append to the SYSCAL subtable when this is True
append_gc
Using the gain curve information available in the antab file append to the GAIN_CURVE subtable when this is True
- Examples
This example will take a ms and output one with the name “appended_data.ms” by appending the tys and gc infromation from an antab file:
appendantab(vis='imported_fits.ms', outvis='appended_data.ms, overwrite=False, append_tsys=True, append_gc=True)
- Development
No additional development details
- Parameter Details
Detailed descriptions of each function parameter
vis (path)- Name of input visibility fileDefault: noneExample: vis=’ngc5921.ms’outvis (string)- Name of output visibility file. If the file name specified already exists it will be replacedDefault: noneExample: caltable=’ngc5921.ms’antab (path)- Name of antab file to append info fromDefault: noneExample: caltable=’bc246b.antab’overwrite (bool=False)- Allows the outvis file to be overwrittenDefault: Falseappend_tsys (bool=True)- Use the information from the antab file to create and fill the SYSCAL subtableDefault: Trueappend_gc (bool=True)- Use the information from the antab file to create and fill the GAIN_CURVE subtableDefault: True