flint.prefect.common.predict

Prefect tasks around model visibility prediction

Functions

task_addmodel_to_ms(→ flint.ms.MS)

task_crystalball_to_ms(→ flint.ms.MS)

Predict model visibilities into a measurement set using a previously constructed

Module Contents

flint.prefect.common.predict.task_addmodel_to_ms(ms: flint.ms.MS, addmodel_subtract_options: flint.options.AddModelSubtractFieldOptions) flint.ms.MS[source]
flint.prefect.common.predict.task_crystalball_to_ms(ms: flint.ms.MS, crystalball_options: flint.predict.crystalball.CrystalBallOptions) flint.ms.MS[source]

Predict model visibilities into a measurement set using a previously constructed blackboard sky model. See wsclean -save-source-list`. This used the ``crystalball python package, which under the hood taps into the same dask task runner running this flow.

Visibilities are predicted into the MS’s MODEL_DATA column.

Parameters:
  • ms (MS) – The measurement set where model visibilities will be predicted into.

  • crystalball_options (CrystalBallOptions) – Options around the crystal ball operation

Returns:

An updated MS with the model column set

Return type:

MS