pyrfu.pyrf.ts_scalar module#

pyrfu.pyrf.ts_scalar.ts_scalar(time, data, attrs: dict | None = None)[source]#

Create a time series containing a 0th order tensor

Parameters:
  • time (numpy.ndarray) – Array of times.

  • data (numpy.ndarray) – Data corresponding to the time list.

  • attrs (dict, Optional) – Attributes of the data list.

Returns:

out – 0th order tensor time series.

Return type:

xarray.DataArray