build_cont_dat¶
- interferopy.casatools_vla_pipe.build_cont_dat(vis='', line_freqs=[], line_widths=[], fields=[], outfile='cont.dat', overwrite=False, append=False)[source]¶
Creates a cont.dat file for the VLA pipeline. Must be run in CASA (uses msmetadata). It currently reads SPW edges in the original observed frame (usually TOPO), but writes them down as LSRK. Should not matter much, edges should be flagged anyway. Example of cont.dat content from NRAO online documentation: https://science.nrao.edu/facilities/vla/data-processing/pipeline/#section-25
- Parameters
vis – path to the measurement set
line_freqs – line frequencies (obs frame, LSRK) in GHz
line_widths – widths of lines (obs frame, LSRK) in GHz to cut from the continuum
fields – science target fields. If empty, TARGET intent fields are used.
outfile – path to the output cont.dat file
overwrite – if True and the outfile exists, it will be overriten
append – add at the end of existing cont.dat file, useful for optimising lines per field
- Returns
None