tonic 1.4.4.dev34__tar.gz → 1.4.4.dev40__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/AUTHORS +1 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/ChangeLog +5 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/PKG-INFO +1 -1
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/requirements.txt +1 -1
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/test/requirements.txt +1 -1
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/test/test_tonic_utils.py +2 -2
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/tonic/datasets/nmnist.py +1 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/tonic/functional/to_timesurface.py +1 -1
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/tonic/utils.py +1 -1
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/tonic.egg-info/PKG-INFO +1 -1
- tonic-1.4.4.dev40/tonic.egg-info/pbr.json +1 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/tonic.egg-info/requires.txt +1 -1
- tonic-1.4.4.dev34/tonic.egg-info/pbr.json +0 -1
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/.binder/requirements.txt +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/.coveragerc +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/.github/workflows/ci-pipeline.yml +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/.pre-commit-config.yaml +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/.readthedocs.yml +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/LICENSE.txt +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/MANIFEST.in +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/README.md +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/docs/Makefile +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/docs/_static/event-cameras/eventstream.png +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/docs/_static/event-cameras/framestream.png +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/docs/_static/event-cameras/receptive-fields.png +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/docs/_static/event-cameras/sampling-theorems.png +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/docs/_static/snn/neuron-models.png +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/docs/_static/snn/surrogates.png +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/docs/_static/tonic-logo-black-bg.png +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/docs/_static/tonic-logo-black.png +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/docs/_static/tonic-logo-white.png +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/docs/_static/tonic_favicon.png +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/docs/_templates/class_dataset.rst +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/docs/_templates/class_transform.rst +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/docs/about/about.rst +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/docs/about/info.rst +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/docs/about/prototype.rst +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/docs/about/release_notes.rst +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/docs/conf.py +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/docs/datasets.rst +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/docs/gallery/README.rst +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/docs/gallery/representations/README.rst +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/docs/gallery/representations/plot_tobinarep.py +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/docs/gallery/representations/plot_toframe.py +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/docs/gallery/representations/plot_toimage.py +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/docs/gallery/representations/plot_totimesurface.py +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/docs/gallery/representations/plot_tovoxelgrid.py +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/docs/gallery/transformations/README.rst +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/docs/gallery/transformations/plot_centercrop.py +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/docs/gallery/transformations/plot_crop_time.py +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/docs/gallery/transformations/plot_decimation.py +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/docs/gallery/transformations/plot_denoise.py +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/docs/gallery/transformations/plot_downsample.py +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/docs/gallery/transformations/plot_drop_event.py +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/docs/gallery/transformations/plot_drop_event_by_area.py +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/docs/gallery/transformations/plot_drop_event_by_time.py +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/docs/gallery/transformations/plot_drop_pixel.py +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/docs/gallery/transformations/plot_event_downsampling.py +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/docs/gallery/transformations/plot_merge_polarities.py +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/docs/gallery/transformations/plot_random_crop.py +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/docs/gallery/transformations/plot_random_flip_lr.py +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/docs/gallery/transformations/plot_random_flip_ud.py +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/docs/gallery/transformations/plot_random_time_reversal.py +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/docs/gallery/transformations/plot_refractory_period.py +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/docs/gallery/transformations/plot_spatial_jitter.py +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/docs/gallery/transformations/plot_time_jitter.py +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/docs/gallery/transformations/plot_uniform_noise.py +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/docs/getting_involved/communication_channels.rst +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/docs/getting_involved/contribute.rst +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/docs/getting_involved/getting_involved.rst +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/docs/getting_started/getting_started.rst +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/docs/getting_started/install.rst +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/docs/getting_started/nmnist.ipynb +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/docs/how-tos/how-tos.rst +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/docs/how-tos/loading-raw-events.ipynb +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/docs/how-tos/visualizing-data.ipynb +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/docs/how-tos/wrapping_own_data.ipynb +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/docs/index.md +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/docs/make.bat +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/docs/reading_material/design_choices.rst +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/docs/reading_material/intro-event-cameras.rst +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/docs/reading_material/intro-snns.rst +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/docs/reading_material/reading_material.rst +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/docs/reading_material/training-snns.rst +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/docs/requirements.txt +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/docs/transformations.rst +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/docs/tutorials/Aug_DiskCachDataset.ipynb +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/docs/tutorials/audio_transforms_tutorial.ipynb +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/docs/tutorials/batching.ipynb +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/docs/tutorials/davis_data.ipynb +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/docs/tutorials/fast_dataloading.ipynb +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/docs/tutorials/large_datasets.ipynb +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/docs/tutorials/slicing.ipynb +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/docs/tutorials/tutorials.rst +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/setup.cfg +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/setup.py +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/test/dataset_utils.py +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/test/prototype_dataset_utils.py +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/test/test_audio_augmentations.py +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/test/test_audio_transforms.py +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/test/test_aug_caching.py +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/test/test_caching.py +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/test/test_chained_transforms.py +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/test/test_data/sample.aedat4 +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/test/test_data/sample_aedat_header.aedat +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/test/test_data/sample_ncars.dat +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/test/test_data/sample_nmnist.bin +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/test/test_data/sample_stmnist.mat +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/test/test_datasets.py +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/test/test_dsec.py +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/test/test_io.py +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/test/test_prototype_datasets.py +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/test/test_representations.py +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/test/test_sliced_dataset.py +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/test/test_slicers.py +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/test/test_transforms.py +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/test/torch_requirements.txt +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/test/utils.py +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/tonic/__init__.py +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/tonic/audio_augmentations.py +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/tonic/audio_transforms.py +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/tonic/cached_dataset.py +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/tonic/collation.py +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/tonic/dataset.py +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/tonic/datasets/__init__.py +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/tonic/datasets/asl_dvs.py +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/tonic/datasets/cifar10dvs.py +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/tonic/datasets/davisdataset.py +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/tonic/datasets/dsec.py +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/tonic/datasets/dvs_lips.py +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/tonic/datasets/dvsgesture.py +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/tonic/datasets/ebssa.py +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/tonic/datasets/hsd.py +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/tonic/datasets/mvsec.py +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/tonic/datasets/ncaltech101.py +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/tonic/datasets/pokerdvs.py +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/tonic/datasets/s_mnist.py +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/tonic/datasets/threeET_eyetracking.py +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/tonic/datasets/tum_vie.py +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/tonic/datasets/visual_place_recognition.py +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/tonic/download_utils.py +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/tonic/functional/__init__.py +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/tonic/functional/crop.py +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/tonic/functional/decimate.py +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/tonic/functional/denoise.py +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/tonic/functional/drop_event.py +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/tonic/functional/drop_pixel.py +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/tonic/functional/event_downsampling.py +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/tonic/functional/refractory_period.py +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/tonic/functional/spatial_jitter.py +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/tonic/functional/time_jitter.py +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/tonic/functional/time_skew.py +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/tonic/functional/to_averaged_timesurface.py +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/tonic/functional/to_bina_rep.py +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/tonic/functional/to_frame.py +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/tonic/functional/to_voxel_grid.py +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/tonic/functional/uniform_noise.py +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/tonic/io.py +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/tonic/prototype/README.md +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/tonic/prototype/__init__.py +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/tonic/prototype/datasets/__init__.py +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/tonic/prototype/datasets/ncars.py +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/tonic/prototype/datasets/nmnist.py +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/tonic/prototype/datasets/prophesee.py +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/tonic/prototype/datasets/stmnist.py +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/tonic/prototype/datasets/utils/__init__.py +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/tonic/prototype/datasets/utils/_dataset.py +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/tonic/prototype/datasets/utils/_utils.py +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/tonic/prototype/slicers.py +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/tonic/sliced_dataset.py +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/tonic/slicers.py +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/tonic/transforms.py +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/tonic-logo-padded.png +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/tonic.egg-info/SOURCES.txt +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/tonic.egg-info/dependency_links.txt +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/tonic.egg-info/not-zip-safe +0 -0
- {tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/tonic.egg-info/top_level.txt +0 -0
|
@@ -2,6 +2,7 @@ Anindya Ghosh <anindya128@yahoo.com>
|
|
|
2
2
|
Antoine Grimaldi <antoine.grimaldi@univ-amu.fr>
|
|
3
3
|
AntoineGrimaldi <antoine.grimaldi@univ-amu.fr>
|
|
4
4
|
Carsten Nielsen <carstenlau.nielsen@uzh.ch>
|
|
5
|
+
Dhia Zerrari <dhia.zerrari@outlook.com>
|
|
5
6
|
Elias Martinsson <131291250+e-martinsson@users.noreply.github.com>
|
|
6
7
|
Fabrizio Ottati <45739782+fabhertz95@users.noreply.github.com>
|
|
7
8
|
Fabrizio Ottati <fabriziottati@gmail.com>
|
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
CHANGES
|
|
2
2
|
=======
|
|
3
3
|
|
|
4
|
+
* pin numpy version <2
|
|
5
|
+
* adding numpy to test requirements
|
|
6
|
+
* change np.product to np.prod
|
|
7
|
+
* fix issue in time surface generation where pixels without events would still result in activity
|
|
8
|
+
* Fix file loading order of N-MNIST samples
|
|
4
9
|
* DataSet class import was removed, the mini dataset does not inherent from that
|
|
5
10
|
* moving torchvision import to inside function
|
|
6
11
|
* moving typing-extensions to the root requirement
|
|
@@ -47,13 +47,13 @@ def test_pytorch_batch_collation_dense_tensor():
|
|
|
47
47
|
assert batch.shape[2] == sensor_size[2]
|
|
48
48
|
|
|
49
49
|
|
|
50
|
-
@pytest.mark.skipif(
|
|
50
|
+
@pytest.mark.skipif(platform == "win32", reason="Test doesn't finish on Windows.")
|
|
51
51
|
def test_plotting():
|
|
52
52
|
events, sensor_size = create_random_input()
|
|
53
53
|
tonic.utils.plot_event_grid(events)
|
|
54
54
|
|
|
55
55
|
|
|
56
|
-
@pytest.mark.skipif(
|
|
56
|
+
@pytest.mark.skipif(platform == "win32", reason="Test doesn't finish on Windows.")
|
|
57
57
|
def test_animation():
|
|
58
58
|
events, sensor_size = create_random_input()
|
|
59
59
|
|
|
@@ -33,7 +33,7 @@ def to_timesurface_numpy(
|
|
|
33
33
|
event_slices = slice_events_by_time(
|
|
34
34
|
events, time_window=dt, overlap=overlap, include_incomplete=include_incomplete
|
|
35
35
|
)
|
|
36
|
-
memory = np.
|
|
36
|
+
memory = np.ones((sensor_size[::-1]), dtype=int) * -np.inf
|
|
37
37
|
all_surfaces = []
|
|
38
38
|
x_index = event_slices[0].dtype.names.index("x")
|
|
39
39
|
y_index = event_slices[0].dtype.names.index("y")
|
|
@@ -42,7 +42,7 @@ def plot_event_grid(
|
|
|
42
42
|
sensor_size = (sensor_size_x, sensor_size_y, sensor_size_p)
|
|
43
43
|
|
|
44
44
|
transform = transforms.ToFrame(
|
|
45
|
-
sensor_size=sensor_size, n_time_bins=np.
|
|
45
|
+
sensor_size=sensor_size, n_time_bins=np.prod(axis_array)
|
|
46
46
|
)
|
|
47
47
|
|
|
48
48
|
frames = transform(events)
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"git_version": "3326802", "is_release": false}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"git_version": "d67aa25", "is_release": false}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/docs/gallery/transformations/plot_drop_event_by_area.py
RENAMED
|
File without changes
|
{tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/docs/gallery/transformations/plot_drop_event_by_time.py
RENAMED
|
File without changes
|
|
File without changes
|
{tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/docs/gallery/transformations/plot_event_downsampling.py
RENAMED
|
File without changes
|
{tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/docs/gallery/transformations/plot_merge_polarities.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/docs/gallery/transformations/plot_random_time_reversal.py
RENAMED
|
File without changes
|
{tonic-1.4.4.dev34 → tonic-1.4.4.dev40}/docs/gallery/transformations/plot_refractory_period.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|