construct_wdmdata§
- typed_lisa_toolkit.construct_wdmdata(*, frequencies: AnyAxis | AxLike, times: AnyAxis | AxLike, entries: Array[Any, ModuleType] | ndarray[tuple[Any, ...], dtype[Any]], channels: tuple[str, ...], sparse_indices: None = None, name: str | None = None) WDMData[Grid2DCartesian[Axis[Linspace], Axis[Linspace]]][source]§
- typed_lisa_toolkit.construct_wdmdata(*, frequencies: AnyAxis | AxLike, times: AnyAxis | AxLike, entries: Array[Any, ModuleType] | ndarray[tuple[Any, ...], dtype[Any]], channels: tuple[str, ...], sparse_indices: Array[Any, ModuleType] | ndarray[tuple[Any, ...], dtype[Any]], name: str | None = None) WDMData[Grid2DSparse[Axis[Linspace], Axis[Linspace]]]
Construct a
WDMData(Deprecated).- Parameters:
frequencies (
Axis) – A uniform array of shape(n_freqs,)or aLinspaceobject representing the frequency grid of the data.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, n_freqs, n_times)or(n_batch, n_channels, n_harmonics, n_features, n_sparse). See theconventionfor more details.channels – Names of the channels in the data.
sparse_indices (
AnyArray, optional) – An array of shape(n_sparse, 2)containing the indices of the non-zero entries in the sparse grid. Seeindicesfor more details. If not provided, the data is treated as dense.name (
str, optional) – Name of the data. Default isNone.
Warning
This function is deprecated and will be removed in 0.8.0; use the
wdmdata()function with the keyword arguments instead.