partition_cont_range

interferopy.casatools_vla_pipe.partition_cont_range(line_freqs=[], line_widths=[], spw_start=1, spw_end=2)[source]

Cuts one continuum range into smaller ones to avoid lines.

Parameters
  • line_freqs – line frequencies in GHz

  • line_widths – widths of lines in GHz to cut from the continuum

  • spw_start – start of the SPW in GHz

  • spw_end – end of the SPW in GHz

Returns

list of continuum chunks, each defined as a dictionary with start and end freqs in GHz.