white_noise#

syncopy.synthdata.white_noise(nSamples=1000, nChannels=2, seed=None, nTrials=100)[source]#

Plain white noise with unity standard deviation.

Parameters:
  • nSamples (int) – Number of samples per trial

  • nChannels (int) – Number of channels

  • seed (int or None) – Set to a number to get reproducible random numbers

  • nTrials (int or None) – Number of trials for the returned AnalogData object. When set to None a single-trial ndarray is returned.

Returns:

wn

Return type:

syncopy.AnalogData or numpy.ndarray