pyNAVIS.loaders¶
SpikesFile¶
- class pyNAVIS.loaders.SpikesFile(addresses=[], timestamps=[])[source]¶
Class that contains all the addresses and timestamps of a file.
- Variables
timestamps (int[]) – Timestamps of the file.
addresses (int[]) – Addresses of the file.
Note
Timestamps and addresses are matched, which means that timestamps[0] is the timestamp for the spike with address addresses[0].
Loaders¶
- class pyNAVIS.loaders.Loaders[source]¶
Functionalities for loading spiking information from different formats.
Methods:
loadAEDAT
(path, settings)Loads an AEDAT (.aedat) file.
loadCSV
(path)Loads a Comma-Separated Values (.csv) file.
- static loadAEDAT(path, settings)[source]¶
Loads an AEDAT (.aedat) file.
- Parameters
path (string) – Full path of the AEDAT file to be loaded, including name and extension.
settings (MainSettings) – Configuration parameters for the file to load.
- Returns
SpikesFile – SpikesFile containing all the addresses and timestamps of the file.
- Raises
SettingsError – If settings.address_size is different than 2 and 4.