orca.wrapper.dada2ms ==================== .. py:module:: orca.wrapper.dada2ms .. autoapi-nested-parse:: DADA to measurement set conversion wrapper. Provides Python interface to Stephen Bourke's dada2ms tool for converting OVRO-LWA correlator DADA files to CASA measurement sets. Attributes ---------- .. autoapisummary:: orca.wrapper.dada2ms.dada2ms_exec orca.wrapper.dada2ms.dada2ms_config Functions --------- .. autoapisummary:: orca.wrapper.dada2ms.dada2ms Module Contents --------------- .. py:data:: dada2ms_exec :value: '/opt/astro/dada2ms/bin/dada2ms-tst3' .. py:data:: dada2ms_config :value: '/home/yuping/dada2ms.cfg' .. py:function:: dada2ms(dada_file: str, out_ms: str, gaintable: str = None, addspw: bool = False) -> str Wrapper around Stephen Bourke's dada2ms. Optionally apply a gaintable (only gaintable of type bandpass has been tested). It will write a ms with the data in the DATA column. If the directory of the out_ms does not exist, it will create the directory. :param dada_file: Path to the dada file. :param out_ms: Path to the output measurement set. :param gaintable: Path to the gaintable. Default is None which means don't apply the calibration. :param addspw: Use the --apend --addspw options. Returns: Path to the output ms. The same as out_ms