nigsp.operations.surrogates.sc_uninformed¶
- nigsp.operations.surrogates.sc_uninformed(timeseries, lapl_mtx, n_surr=1000, seed=98, stack=False)[source]¶
Create surrogates ignorant of the real structural connectivity.
- Parameters:
- timeseries
numpy.ndarray
A 3D (or less) array coding a timeseries in the second axis (axis 1).
- lapl_mtx
numpy.ndarray
A symmetrically normalised laplacian matrix.
- n_surr
int
, optional The number of surrogates to create.
- seed
int
orNone
, optional The seed to reinitialise the RNG - used for replicability.
- stack
bool
, optional If True, append the real matrix at the end of the stack.
- timeseries
- Returns:
numpy.ndarray
The surrogate matrix, of shape
(timeseries.shape, n_surr)
.
- Raises:
NotImplementedError
If timeseries is 4+ D.