API Reference
Classifiers
|
Reconvolution CCA classifier. |
|
ERP CCA classifier. |
|
Ensemble classifier. |
EEG
|
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 a single-source c-VEP signal per trial. |
|
Generate a mixing matrix that projects one or more sources to channel space, simulating volume conduction. |
|
Project one or more source signals to channel space using a mixing matrix. |
|
Generate white sensor / measurement noise, i.e., independent and identically distributed Gaussian noise per channel and sample. |
|
Generate 1/f (pink) noise per channel, approximating the aperiodic background spectrum of EEG. |
|
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 multi-channel EEG background noise as the sum of white sensor noise, 1/f pink noise, and electrical line noise. |
|
Generate a synthetic multi-channel c-VEP EEG dataset. |
Envelope
|
Auditory scale points specified by bandwidth. |
|
Convert auditory units at the auditory scale to frequency (Hz). |
|
Compute the envelope of audio using a gammatone filterbank. |
|
Compute the envelope of the audio as the root mean square (RMS) of the signal. |
|
Auditory scale points specified by bandwidth. |
|
Convert frequencies (Hz) to auditory units at the auditory scale. |
Gates
|
Gate described by an aggregate function. |
|
Gate described by classification of difference scores. |
Plotting
|
Plot the event time-series. |
|
Plot the stimulus time-series. |
|
Plot a topoplot. |
Stimulus
Make an almost perfect auto-correlation (APA) sequence. |
|
|
Make a de Bruijn sequence. |
Make complementary Golay sequences. |
|
|
Make a set of Gold codes. |
|
Make a maximum length sequence. |
|
Check whether a stimulus is a de Bruijn sequence. |
|
Check whether a stimulus is a Gold code. |
|
Check whether a stimulus is an m-sequence. |
|
Modulate a stimulus. |
|
Shift a code to create multiple circularly shifted versions of it. |
|
Optimize the subset by first clustering similar codes and subsequently selecting the best candidates from each cluster. |
|
Optimize the allocation of codes to a layout by considering the correlation between neighboring codes. |
Stopping
|
Bayesian dynamic stopping. |
|
Criterion static stopping. |
|
Distribution dynamic stopping. |
|
Margin dynamic stopping. |
|
Value dynamic stopping. |
Transformers
|
Canonical correlation analysis (CCA). |
|
Vectorizer. |
Utilities
|
Correct for a latency in data. |
|
Compute the correlation coefficient. |
|
Compute the covariance matrix. |
|
Make a Hankel-like decoding matrix. |
|
Make a Toeplitz-like encoding matrix. |
|
Compute the Euclidean distance. |
|
Make an event matrix. |
|
Apply a filterbank. |
|
Find the neighbour pairs (horizontal, vertical, diagonal) in a rectangular layout. |
|
Find the neighbouring pair with maximum score. |
|
Compute the (Moore-Penrose) pseudo-inverse of a matrix. |
|
Compute the information-transfer rate (ITR). |
|
Slice trials to epochs. |