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 a Linspace object representing the frequency grid of the data.

  • times (Axis) – A uniform array of shape (n_times,) or a Linspace object 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 the convention for 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. See indices for more details. If not provided, the data is treated as dense.

  • name (str, optional) – Name of the data. Default is None.

Warning

This function is deprecated and will be removed in 0.8.0; use the wdmdata() function with the keyword arguments instead.