ngcasa.flagging.auto_clip
¶
-
auto_clip
(vis_dataset, clip_min, clip_max)[source]¶ Apply the clip flagging method. Data with values lower than clip_min or bigger than clip_max are flagged. Values are compared against the abs of the visibility values (no other expression supported at the moment).
- Parameters
vis_dataset (xarray.core.dataset.Dataset) – Input dataset.
clip_min (float) – Minimum below which data should be flagged
max_clip (float) – Maximum above which data should be flagged
Returns –
------- –
xds (xarray.core.dataset.Dataset) – Visibility dataset with updated flags