timeaverage

timeaverage(xds, width=1, timebin=None, timespan='both')[source]

Average data across time axis

Parameters
  • xds (xarray.core.dataset.Dataset) – input Visibility Dataset

  • width (int) – number of adjacent times to average (fast), used when timebin is None. Default=1 (no change)

  • (future) (timespan) – time bin width to averaging (in seconds) (slow - requires interpolation). Default None uses width parameter

  • (future) – Span of the timebin. Allowed values are ‘scan’, ‘state’ or ‘both’

Returns

New Visibility Dataset

Return type

xarray.core.dataset.Dataset