FlagTable
- class ska_sdp_datamodels.visibility.FlagTable(data_vars: DataVars | None = None, coords: Mapping[Any, Any] | None = None, attrs: Mapping[Any, Any] | None = None)
Bases:
DatasetFlag table class
Flags, time, integration_time, frequency, channel_bandwidth, pol, in the format of a xarray.
The configuration is also an attribute.
Methods Summary
constructor([baselines, flags, frequency, ...])FlagTable
copy([deep, data, zero])Copy FlagTable
Methods Documentation
- classmethod constructor(baselines=None, flags=None, frequency=None, channel_bandwidth=None, configuration=None, time=None, integration_time=None, polarisation_frame=None)
FlagTable
- Parameters:
baselines – List of baselines (can be None or generated by vis.utils.generate_baselines)
frequency – Frequency [nchan]
channel_bandwidth – Channel bandwidth [nchan]
configuration – Configuration
time – Time (UTC) [ntimes]
flags – Flags [ntimes, nbaseline, nchan]
integration_time – Integration time [ntimes]
- copy(deep=False, data=None, zero=False)
Copy FlagTable
- Parameters:
deep – perform deep-copy
data – data to use in new object; see docstring of xarray.core.dataset.Dataset.copy
zero – if True, set flags to zero in copied object