tonic 1.3.3.dev3__tar.gz → 1.3.4.dev3__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.
Files changed (164) hide show
  1. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/ChangeLog +7 -0
  2. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/PKG-INFO +1 -1
  3. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/tonic/collation.py +7 -4
  4. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/tonic/datasets/dsec.py +4 -2
  5. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/tonic/functional/to_timesurface.py +2 -1
  6. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/tonic.egg-info/PKG-INFO +1 -1
  7. tonic-1.3.4.dev3/tonic.egg-info/pbr.json +1 -0
  8. tonic-1.3.3.dev3/tonic.egg-info/pbr.json +0 -1
  9. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/.coveragerc +0 -0
  10. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/.github/workflows/ci-pipeline.yml +0 -0
  11. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/.pre-commit-config.yaml +0 -0
  12. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/.readthedocs.yml +0 -0
  13. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/AUTHORS +0 -0
  14. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/LICENSE.txt +0 -0
  15. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/MANIFEST.in +0 -0
  16. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/README.md +0 -0
  17. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/docs/Makefile +0 -0
  18. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/docs/_static/event-cameras/eventstream.png +0 -0
  19. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/docs/_static/event-cameras/framestream.png +0 -0
  20. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/docs/_static/event-cameras/receptive-fields.png +0 -0
  21. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/docs/_static/event-cameras/sampling-theorems.png +0 -0
  22. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/docs/_static/snn/neuron-models.png +0 -0
  23. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/docs/_static/snn/surrogates.png +0 -0
  24. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/docs/_static/tonic-logo-black.png +0 -0
  25. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/docs/_static/tonic-logo-white.png +0 -0
  26. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/docs/_static/tonic_favicon.png +0 -0
  27. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/docs/_templates/class_dataset.rst +0 -0
  28. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/docs/_templates/class_transform.rst +0 -0
  29. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/docs/about/about.rst +0 -0
  30. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/docs/about/info.rst +0 -0
  31. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/docs/about/prototype.rst +0 -0
  32. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/docs/about/release_notes.rst +0 -0
  33. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/docs/conf.py +0 -0
  34. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/docs/datasets.rst +0 -0
  35. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/docs/gallery/README.rst +0 -0
  36. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/docs/gallery/representations/README.rst +0 -0
  37. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/docs/gallery/representations/plot_tobinarep.py +0 -0
  38. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/docs/gallery/representations/plot_toframe.py +0 -0
  39. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/docs/gallery/representations/plot_toimage.py +0 -0
  40. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/docs/gallery/representations/plot_totimesurface.py +0 -0
  41. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/docs/gallery/representations/plot_tovoxelgrid.py +0 -0
  42. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/docs/gallery/transformations/README.rst +0 -0
  43. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/docs/gallery/transformations/plot_centercrop.py +0 -0
  44. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/docs/gallery/transformations/plot_crop_time.py +0 -0
  45. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/docs/gallery/transformations/plot_decimation.py +0 -0
  46. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/docs/gallery/transformations/plot_denoise.py +0 -0
  47. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/docs/gallery/transformations/plot_downsample.py +0 -0
  48. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/docs/gallery/transformations/plot_drop_event.py +0 -0
  49. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/docs/gallery/transformations/plot_drop_event_by_area.py +0 -0
  50. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/docs/gallery/transformations/plot_drop_event_by_time.py +0 -0
  51. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/docs/gallery/transformations/plot_drop_pixel.py +0 -0
  52. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/docs/gallery/transformations/plot_merge_polarities.py +0 -0
  53. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/docs/gallery/transformations/plot_random_crop.py +0 -0
  54. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/docs/gallery/transformations/plot_random_flip_lr.py +0 -0
  55. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/docs/gallery/transformations/plot_random_flip_ud.py +0 -0
  56. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/docs/gallery/transformations/plot_random_time_reversal.py +0 -0
  57. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/docs/gallery/transformations/plot_refractory_period.py +0 -0
  58. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/docs/gallery/transformations/plot_spatial_jitter.py +0 -0
  59. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/docs/gallery/transformations/plot_time_jitter.py +0 -0
  60. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/docs/gallery/transformations/plot_uniform_noise.py +0 -0
  61. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/docs/getting_involved/communication_channels.rst +0 -0
  62. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/docs/getting_involved/contribute.rst +0 -0
  63. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/docs/getting_involved/getting_involved.rst +0 -0
  64. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/docs/getting_started/getting_started.rst +0 -0
  65. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/docs/getting_started/install.rst +0 -0
  66. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/docs/getting_started/nmnist.ipynb +0 -0
  67. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/docs/how-tos/how-tos.rst +0 -0
  68. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/docs/how-tos/loading-raw-events.ipynb +0 -0
  69. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/docs/how-tos/visualizing-data.ipynb +0 -0
  70. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/docs/how-tos/wrapping_own_data.ipynb +0 -0
  71. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/docs/index.md +0 -0
  72. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/docs/make.bat +0 -0
  73. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/docs/reading_material/design_choices.rst +0 -0
  74. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/docs/reading_material/intro-event-cameras.rst +0 -0
  75. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/docs/reading_material/intro-snns.rst +0 -0
  76. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/docs/reading_material/reading_material.rst +0 -0
  77. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/docs/reading_material/training-snns.rst +0 -0
  78. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/docs/requirements.txt +0 -0
  79. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/docs/transformations.rst +0 -0
  80. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/docs/tutorials/batching.ipynb +0 -0
  81. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/docs/tutorials/davis_data.ipynb +0 -0
  82. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/docs/tutorials/fast_dataloading.ipynb +0 -0
  83. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/docs/tutorials/large_datasets.ipynb +0 -0
  84. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/docs/tutorials/slicing.ipynb +0 -0
  85. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/docs/tutorials/tutorials.rst +0 -0
  86. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/requirements.txt +0 -0
  87. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/setup.cfg +0 -0
  88. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/setup.py +0 -0
  89. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/test/dataset_utils.py +0 -0
  90. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/test/prototype_dataset_utils.py +0 -0
  91. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/test/requirements.txt +0 -0
  92. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/test/test_audio_transforms.py +0 -0
  93. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/test/test_caching.py +0 -0
  94. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/test/test_chained_transforms.py +0 -0
  95. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/test/test_data/sample.aedat4 +0 -0
  96. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/test/test_data/sample_ncars.dat +0 -0
  97. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/test/test_data/sample_nmnist.bin +0 -0
  98. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/test/test_data/sample_stmnist.mat +0 -0
  99. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/test/test_datasets.py +0 -0
  100. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/test/test_dsec.py +0 -0
  101. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/test/test_io.py +0 -0
  102. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/test/test_prototype_datasets.py +0 -0
  103. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/test/test_representations.py +0 -0
  104. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/test/test_sliced_dataset.py +0 -0
  105. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/test/test_slicers.py +0 -0
  106. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/test/test_tonic_utils.py +0 -0
  107. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/test/test_transforms.py +0 -0
  108. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/test/utils.py +0 -0
  109. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/tonic/__init__.py +0 -0
  110. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/tonic/audio_transforms.py +0 -0
  111. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/tonic/cached_dataset.py +0 -0
  112. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/tonic/dataset.py +0 -0
  113. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/tonic/datasets/__init__.py +0 -0
  114. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/tonic/datasets/asl_dvs.py +0 -0
  115. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/tonic/datasets/cifar10dvs.py +0 -0
  116. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/tonic/datasets/davisdataset.py +0 -0
  117. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/tonic/datasets/dvs_lips.py +0 -0
  118. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/tonic/datasets/dvsgesture.py +0 -0
  119. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/tonic/datasets/hsd.py +0 -0
  120. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/tonic/datasets/mvsec.py +0 -0
  121. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/tonic/datasets/ncaltech101.py +0 -0
  122. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/tonic/datasets/nmnist.py +0 -0
  123. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/tonic/datasets/pokerdvs.py +0 -0
  124. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/tonic/datasets/s_mnist.py +0 -0
  125. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/tonic/datasets/tum_vie.py +0 -0
  126. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/tonic/datasets/visual_place_recognition.py +0 -0
  127. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/tonic/download_utils.py +0 -0
  128. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/tonic/functional/__init__.py +0 -0
  129. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/tonic/functional/crop.py +0 -0
  130. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/tonic/functional/decimate.py +0 -0
  131. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/tonic/functional/denoise.py +0 -0
  132. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/tonic/functional/drop_event.py +0 -0
  133. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/tonic/functional/drop_pixel.py +0 -0
  134. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/tonic/functional/refractory_period.py +0 -0
  135. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/tonic/functional/spatial_jitter.py +0 -0
  136. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/tonic/functional/time_jitter.py +0 -0
  137. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/tonic/functional/time_skew.py +0 -0
  138. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/tonic/functional/to_averaged_timesurface.py +0 -0
  139. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/tonic/functional/to_bina_rep.py +0 -0
  140. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/tonic/functional/to_frame.py +0 -0
  141. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/tonic/functional/to_voxel_grid.py +0 -0
  142. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/tonic/functional/uniform_noise.py +0 -0
  143. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/tonic/io.py +0 -0
  144. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/tonic/prototype/README.md +0 -0
  145. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/tonic/prototype/__init__.py +0 -0
  146. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/tonic/prototype/datasets/__init__.py +0 -0
  147. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/tonic/prototype/datasets/ncars.py +0 -0
  148. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/tonic/prototype/datasets/nmnist.py +0 -0
  149. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/tonic/prototype/datasets/prophesee.py +0 -0
  150. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/tonic/prototype/datasets/stmnist.py +0 -0
  151. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/tonic/prototype/datasets/utils/__init__.py +0 -0
  152. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/tonic/prototype/datasets/utils/_dataset.py +0 -0
  153. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/tonic/prototype/datasets/utils/_utils.py +0 -0
  154. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/tonic/prototype/slicers.py +0 -0
  155. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/tonic/sliced_dataset.py +0 -0
  156. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/tonic/slicers.py +0 -0
  157. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/tonic/transforms.py +0 -0
  158. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/tonic/utils.py +0 -0
  159. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/tonic-logo-padded.png +0 -0
  160. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/tonic.egg-info/SOURCES.txt +0 -0
  161. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/tonic.egg-info/dependency_links.txt +0 -0
  162. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/tonic.egg-info/not-zip-safe +0 -0
  163. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/tonic.egg-info/requires.txt +0 -0
  164. {tonic-1.3.3.dev3 → tonic-1.3.4.dev3}/tonic.egg-info/top_level.txt +0 -0
@@ -1,6 +1,13 @@
1
1
  CHANGES
2
2
  =======
3
3
 
4
+ * Added compatability for non-scalar targets
5
+ * add ms\_to\_idx to DSEC data
6
+
7
+ v1.3.3
8
+ ------
9
+
10
+ * use numpy struct to unstruct function for timesurface generation
4
11
  * try/catch case where DAVIS dataset doesn't have optitrack targets
5
12
  * update plot\_animation fn
6
13
  * update plot\_animation fn
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tonic
3
- Version: 1.3.3.dev3
3
+ Version: 1.3.4.dev3
4
4
  Summary: Neuromorphic datasets and transformations.
5
5
  Home-page: UNKNOWN
6
6
  Author: The Neuromorphs of Telluride
@@ -48,7 +48,10 @@ class PadTensors:
48
48
  )
49
49
  samples_output.append(sample)
50
50
  targets_output.append(target)
51
- return (
52
- torch.stack(samples_output, 0 if self.batch_first else 1),
53
- torch.tensor(targets_output, device=target.device),
54
- )
51
+
52
+ samples_output = torch.stack(samples_output, 0 if self.batch_first else 1)
53
+ if len(targets_output[0].shape) > 1:
54
+ targets_output = torch.stack(targets_output, 0 if self.batch_first else -1)
55
+ else:
56
+ targets_output = torch.tensor(targets_output, device=target.device)
57
+ return (samples_output, targets_output)
@@ -247,14 +247,16 @@ class DSEC(Dataset):
247
247
  full_base_folder = os.path.join(base_folder, data_name)
248
248
  if data_name in ["events_left", "events_right"]:
249
249
  with h5py.File(full_base_folder + "/events.h5", "r") as file:
250
- data = make_structured_array(
250
+ data = {}
251
+ data[data_name] = make_structured_array(
251
252
  file["events"]["x"][()],
252
253
  file["events"]["y"][()],
253
254
  file["events"]["t"][()],
254
255
  file["events"]["p"][()],
255
256
  dtype=self.dtype,
256
257
  )
257
- data["t"] += file["t_offset"][()]
258
+ data[data_name]["t"] += file["t_offset"][()]
259
+ data["ms_to_idx"] = file["ms_to_idx"][()]
258
260
 
259
261
  elif "images" in data_name:
260
262
  images_rectified_filenames = sorted(
@@ -1,6 +1,7 @@
1
1
  from typing import Tuple
2
2
 
3
3
  import numpy as np
4
+ from numpy.lib import recfunctions as rfn
4
5
 
5
6
  from tonic.slicers import slice_events_by_time
6
7
 
@@ -41,7 +42,7 @@ def to_timesurface_numpy(
41
42
  start_t = event_slices[0][0][t_index]
42
43
  for i, slice in enumerate(event_slices):
43
44
  # structured to unstructured in order to access the indices
44
- slice = slice.view((int, len(slice.dtype.names)))
45
+ slice = rfn.structured_to_unstructured(slice, dtype=int)
45
46
  indices = slice[:, [p_index, y_index, x_index]].T
46
47
  timestamps = slice[:, t_index]
47
48
  memory[tuple(indices)] = timestamps
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tonic
3
- Version: 1.3.3.dev3
3
+ Version: 1.3.4.dev3
4
4
  Summary: Neuromorphic datasets and transformations.
5
5
  Home-page: UNKNOWN
6
6
  Author: The Neuromorphs of Telluride
@@ -0,0 +1 @@
1
+ {"git_version": "7be656b", "is_release": false}
@@ -1 +0,0 @@
1
- {"git_version": "142d3b4", "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