flint.prefect.common.ms

Common prefect tasks around interacting with measurement sets

Attributes

Functions

add_model_source_list_to_ms(...)

task_jolly_roger_tractor(→ flint.options.MS)

Run the jolly-rogar tukey tractor operation

task_update_ms_tracked_column(→ flint.options.MS)

Update the tracked column name in an MS

Module Contents

flint.prefect.common.ms.add_model_source_list_to_ms(wsclean_command: flint.imager.wsclean.WSCleanResult, calibrate_container: pathlib.Path | None = None) flint.imager.wsclean.WSCleanResult[source]
flint.prefect.common.ms.task_jolly_roger_tractor(ms: flint.options.MS, update_tukey_tractor_options: dict[str, Any] | None = None) flint.options.MS[source]

Run the jolly-rogar tukey tractor operation

Parameters:
  • ms (MS) – The MS to modified. The column attribute will be used and modified inplace.

  • update_tukey_tractor_options (dict[str, Any] | None, optional) – Any additional options to provide the tukey tractor. Column related options are updated based on input ms.column attribute. Defaults to None.

Returns:

Reference to modified measurement set

Return type:

MS

flint.prefect.common.ms.task_update_ms_tracked_column(ms: flint.options.MS, column_name: str) flint.options.MS[source]

Update the tracked column name in an MS

Parameters:
  • ms (MS) – The MS whose tracked column will be updated

  • column_name (str) – The new column name to be updated

Returns:

The updated MS with new tracked column name

Return type:

MS

flint.prefect.common.ms.P[source]
flint.prefect.common.ms.R[source]
flint.prefect.common.ms.task_add_model_source_list_to_ms: prefect.Task[P, R] = None[source]
flint.prefect.common.ms.task_subtract_model_from_ms = None[source]