EEG

generate_impulse_response(fs[, components, ...])

Generate a temporal response function (i.e., a VEP / impulse response kernel) as the sum of one or more Ricker wavelets (a biphasic bump, similar to a single-component visual evoked potential).

generate_c_vep_source(stimulus, y, n_samples, fs)

Generate a single-source c-VEP signal per trial.

generate_mixing_matrix(n_channels[, ...])

Generate a mixing matrix that projects one or more sources to channel space, simulating volume conduction.

apply_mixing_matrix(source, mixing_matrix)

Project one or more source signals to channel space using a mixing matrix.

generate_white_noise(n_trials, n_channels, ...)

Generate white sensor / measurement noise, i.e., independent and identically distributed Gaussian noise per channel and sample.

generate_pink_noise(n_trials, n_channels, ...)

Generate 1/f (pink) noise per channel, approximating the aperiodic background spectrum of EEG.

generate_line_noise(n_trials, n_channels, ...)

Generate electrical line noise (e.g., 50 Hz mains interference and its harmonics), shared (with only small gain variations) across channels, with a random phase per trial.

generate_noise(n_trials, n_channels, ...[, ...])

Generate multi-channel EEG background noise as the sum of white sensor noise, 1/f pink noise, and electrical line noise.

generate_c_vep(n_trials, n_channels, ...[, ...])

Generate a synthetic multi-channel c-VEP EEG dataset.