core.transforms#
Unit selection and spike-count augmentations, shared by every task suite.
Unit transforms#
Drops units that have failing probe QC or did not fire in this slice. |
|
A simple unit dropout transform. |
|
Mask units and corresponding spikes given a boolean mask (in-place). |
Augmentations#
Adds Gaussian noise scaled to the input max, clipped at 0. |
|
Randomly zeros out bins. |
|
Rescales amplitude by a small random factor. |
|
Adds Gaussian noise scaled to the input std. |
|
Apply a transform with probability p. |
|
Gaussian smoothing along the temporal (last) axis only. |
|
Random row-wise circular shift along the temporal axis. |