Description
WARNING: fitorders > 1 are strongly discouraged because high order polynomials have more flexibility, may absorb line emission, and tend to go wild at the edges of fitspw, which is not what you want. default: 0 (constant)
Parameter descriptions
vis
Name of input MS. Output goes to vis + ".contsub" (will be overwritten if already exists)
field
Field selection for continuum estimation and subtraction. The estimation and subtraction is done for each selected field separately in turn. default: '' (all fields) (See Data Selection in a MeasurementSet)
fitspw
Selection of spectral windows and channels to use in the fit for the continuum, using general MS selection syntax for spectral windows, e.g. in spw:chan format (spw ids are required but '*' can be used) or as frequencies. See the note under combine. default: fitspw='' (all)
excludechans (fitspw subparameter)
if True, it will exclude the channels (or frequency range) that is specified in fitspw for the fit; this is useful to specify the line channels to exclude rather than the continuum channels to include in the fit. (default: False)
combine
Continuum solutions will break at scan, field, and spw boundaries according to solint. To allow solutions across these boundaries, combine can be set to 'spw', 'scan', or 'spw, scan'. combine must include 'spw' if spw contains spws that are not in fitspw! default: '' which is that solutions will break at scan, field, and spw
solint
Timescale for per-baseline fit (units optional) options are time ranges, e.g. '10s', or 'inf' per scan, or 'int' per integration. default (recommended): 'int', i.e. no time averaging, do a fit for each integration and let the noisy fits average out in the image.continuum fit. If solint is longer than 'int', the continuum estimate can be
corrupted by time smearing.
fitorder
Polynomial order for the fits of the continuum w.r.t. frequency. fitorders > 1 are strongly discouraged because high order polynomials have more flexibility, may
absorb line emission, and tend to go wild at the edges of fitspw, which is not what you want. default: 0 (constant)
spw
Optional per spectral window selection of channels to include in the output. See the note under combine. The sub-MS output spectral windows will be renumbered to start from 0, as in split. default: '' (all spws) (See Data Selection in a MeasurementSet)
want_cont
Create vis + '.cont' to hold the continuum estimate.