EvolutionarySpectralDensity§

class typed_lisa_toolkit.types.EvolutionarySpectralDensity[source]§

Evolutionary spectral density matrix (ESDM) for a time-frequency noise model.

Stores the inverse ESDM as an array of shape (n_freqs, n_times, n_channels, n_channels).

static is_valid_sdm(_evsdm_or_invevsdm: Array[Any, ModuleType] | ndarray[tuple[Any, ...], dtype[Any]], /, *, channel_order: Sequence[str], raise_exception: bool = False)[source]§

Check validity of the (inverse) evolutionary spectral density matrix.

get_kernel(backend: str | None = None) Array[Any, ModuleType] | ndarray[tuple[Any, ...], dtype[Any]][source]§

Return the inverse of the evolutionary spectral density matrix.

The returned array has shape (n_freqs, n_times, n_channels, n_channels).

get_whitening_matrix(self, kind='cholesky') Array[Any, ModuleType] | ndarray[tuple[Any, ...], dtype[Any]][source]§

Return whitening matrix \(W\) with shape (n_freqs, n_times, n_channels, n_channels).

Note

Currently only supports Cholesky decomposition: \(W\) satisfies \(S_n^{-1} = W^\top W\).

The whitening matrix represents a linear transformation that yields unit variance white noise when applied to noise that follows this model. This is useful in detecting deviations from the model.

Parameters:

kind (the kind of whitening matrix. Defaults to "cholesky")