meegsim.waveform.white_noise#
- meegsim.waveform.white_noise(n_series, times, *, random_state=None)[source]#
Generate time series of white noise (e.g., to use for modeling measurement noise in sensor space data)
- Parameters:
- n_series
int Number of time series to generate.
- times
array Array of time points (each one represents time in seconds). Only the size of the array is used for noise generation.
- random_state
None(default) orint Seed for the random number generator. If None (default), results will vary between function calls. Use a fixed value for reproducibility.
- n_series
- Returns:
- out
array, shape (n_series, n_times) Generated white noise.
- out