hifv_statwt

hifv_statwt(vis=None, datacolumn=None, overwrite_modelcol=None, statwtmode=None) ResultsList[Results][source]

Compute statistical weights and write them to measurement set.

Parameters:
  • vis -- The list of input MeasurementSets. Defaults to the list of MeasurementSets specified in the hifv_importdata task.

  • datacolumn -- Data column used to compute weights. Supported values are "data", "corrected", "residual", and "residual_data" (case insensitive, minimum match supported).

  • overwrite_modelcol -- Always write the model column, even if it already exists.

  • statwtmode -- Sets the weighting parameters for general VLA ('VLA') or VLASS Single Epoch ('VLASS-SE') use case. Note that the 'VLASS-SE' mode is meant to be used with datacolumn='residual_data'. Default is 'VLA'.

Returns:

The results object for the pipeline task is returned.

Examples

  1. Statistical weighting of the visibilities:

>>> hifv_statwt()
  1. Statistical weighting of the visibilities in the Very Large Array Sky Survey Single Epoch use case:

>>> hifv_statwt(mode='vlass-se', datacolumn='residual_data')