tsdata§
- typed_lisa_toolkit.tsdata(mapping: Mapping[str, TimeSeries[Axis[Linspace, ModuleType]]], /, *, name: str | None = None) TSData[source]§
- typed_lisa_toolkit.tsdata(*, times: Axis[Array[Any, ModuleType] | ndarray[tuple[Any, ...], dtype[Any]] | Linspace, ModuleType] | Array[Any, ModuleType] | ndarray[tuple[Any, ...], dtype[Any]] | Linspace, entries: Array[Any, ModuleType] | ndarray[tuple[Any, ...], dtype[Any]], channels: tuple[str, ...], name: str | None = None) TSData
Construct a
TSData.This function provides two mutually exclusive construction ways:
First, from a positional-only mapping argument:
- Parameters:
mapping – A mapping from channel names to
TimeSerieswithLinspaceaxes.name (
str, optional) – Name of the data.
Second, from several keyword arguments:
- Parameters:
times (
Axis) – A uniform array of shape(n_times,)or aLinspaceobject representing the time grid of the data.entries (
AnyArray) – An array of shape(n_batch, n_channels, n_harmonics, n_features, Nt)whereNtis the size oftimes. See theconventionfor more details.channels – A tuple of channel names in the data.
name (
str, optional) – Name of the data.