read and write files from neuromorphic cameras
Project description
loris
read and write different file formats from neuromorphic cameras such as .aedat, .dat, .es or .csv and also amazing animal
Supported formats
version | read | write | |
---|---|---|---|
.aedat | 3.x | ☐ | ☐ |
.dat | n/a | ☑ | ☐ |
.es | 2.x | ☑ | ☑ |
.csv | - | ☑ | ☐ |
Install
pip install loris
How to loris
Read a file, for example a .dat file
import loris
my_file = loris.read_file("/path/to/my-file.dat")
Loop over all events
for event in my_file['events']:
print("ts:", event['t'], "x:", event['x'], "y:", event['y'], "p:", event['polarity'])
Write events to file using one of the supported formats, for example .es
loris.write_events_to_file(my_file, "/path/to/my-file.es")
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
loris-0.3.3.tar.gz
(8.8 MB
view details)
File details
Details for the file loris-0.3.3.tar.gz
.
File metadata
- Download URL: loris-0.3.3.tar.gz
- Upload date:
- Size: 8.8 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.12.4 setuptools/33.1.1 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.5.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ffea5e672128f30c552264db0a32ec4ff6ae20538f0db1efa34fd44578efc0b0 |
|
MD5 | 8c5d001dd7800a55184f308a090722e7 |
|
BLAKE2b-256 | 1d3e83c740a5bd16bd727e82f0cd6f7610b71daffb0169f8ac09bdfcbbea1102 |