make_sdm§
- typed_lisa_toolkit.make_sdm(inverse_sdm: Array[Any, ModuleType] | ndarray[tuple[Any, ...], dtype[Any]], /, *, frequencies: Array[Any, ModuleType] | ndarray[tuple[Any, ...], dtype[Any]] | Axis[Array[Any, ModuleType] | ndarray[tuple[Any, ...], dtype[Any]] | Linspace, ModuleType], channel_names: Sequence[str], times: None = None, is_diagonal: Literal[False] = False) SpectralDensity[source]§
- typed_lisa_toolkit.make_sdm(inverse_sdm: Array[Any, ModuleType] | ndarray[tuple[Any, ...], dtype[Any]], /, *, frequencies: Array[Any, ModuleType] | ndarray[tuple[Any, ...], dtype[Any]] | Axis[Array[Any, ModuleType] | ndarray[tuple[Any, ...], dtype[Any]] | Linspace, ModuleType], channel_names: Sequence[str], is_diagonal: Literal[True], times: None = None) DiagonalSpectralDensity
- typed_lisa_toolkit.make_sdm(inverse_sdm: Array[Any, ModuleType] | ndarray[tuple[Any, ...], dtype[Any]], /, *, frequencies: Array[Any, ModuleType] | ndarray[tuple[Any, ...], dtype[Any]] | Axis[Array[Any, ModuleType] | ndarray[tuple[Any, ...], dtype[Any]] | Linspace, ModuleType], times: Array[Any, ModuleType] | ndarray[tuple[Any, ...], dtype[Any]] | Axis[Array[Any, ModuleType] | ndarray[tuple[Any, ...], dtype[Any]] | Linspace, ModuleType], channel_names: Sequence[str]) EvolutionarySpectralDensity
Make a
SpectralDensity, aDiagonalSpectralDensityor anEvolutionarySpectralDensity.- Parameters:
inverse_sdm (
AnyArray) – The inverse spectral density matrix (SDM) or inverse evolutionary spectral density matrix (ESDM). If is_diagonal is False, it must have shape (n_freqs, n_channels, n_channels) for SDM or (n_freqs, n_times, n_channels, n_channels) for ESDM. If is_diagonal is True, it must have shape (n_freqs, n_channels) and represent the diagonal elements of the inverse SDM (currently only supported for SDM, not ESDM).frequencies (
AnyArray) – An array of shape (n_freqs,) representing the frequency grid.channel_names (
Sequence[str]) – A sequence of channel names corresponding to the channels in the SDM/ESDM.times (
AnyArray, optional) – An array of shape (n_times,) representing the time grid. If None, aSpectralDensitywill be constructed. If provided, anEvolutionarySpectralDensitywill be constructed.is_diagonal (
bool) – Whether the SDM is diagonal. Only relevant if times is None. If True, aDiagonalSpectralDensitywill be constructed. Defaults to False.