ngcasa.flagging.manual_unflag
¶
-
manual_unflag
(mxds, xds_idx, commands=None)[source]¶ Unflags the selected data. Flags corresponding to the selections are unset.
- Parameters
mxds (xarray.core.dataset.Dataset) – Input Dataset
xds_idx (int) – Index of the xarray datasets to get counts from (index in the xds’i’ attributes of mxds). This is an oversimplification (early prototyping)
commands (List[Dict]) – List of selections, each expressed as an xarray selection dictionary, using the same schema as in manual_flag. If empty, unflag all.
- Additional selection parameters / criteria (TBD) –
Returns –
------- –
xarray.core.dataset.Dataset – Visibility dataset with updated (unset) flags