Spike manipulation and augmentation
Project description
Tonic provides publicly available spike-based datasets and data transformations based on PyTorch.
Have a look at the list of supported datasets and transformations!
Install
pip install tonic
Quickstart
import tonic
import tonic.transforms as transforms
transform = transforms.Compose([transforms.Denoise(time_filter=10000),
transforms.TimeJitter(variance=10),])
testset = tonic.datasets.NMNIST(save_to='./data',
train=False,
transform=transform)
testloader = tonic.datasets.DataLoader(testset, shuffle=True)
events, target = next(iter(testloader))
Documentation
You can find the full documentation on Tonic here.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
tonic-0.2.2.tar.gz
(210.9 kB
view hashes)