read and write files from neuromorphic cameras
Project description
loris
python3 library to handle different file formats from neuromorphic cameras such as .dat, .aedat or .es and also amazing animal
Install
pip install loris
How to loris
Read a file
import loris
events = loris.read_file("path_to_file")
which returns a numpy structured array of event data.
Loop over all events
for event in events:
print("ts:", event['ts'], "x:", event['x'], "y:", event['y'])
Write events to file using one of the three formats
loris.write_events_to_file(events, "path_to_new_file")
Please use Pylint before creating a Pull Request. PEP 8 Python Style preferred. This will make loris happy
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.2.0.tar.gz
(6.1 kB
view details)
Built Distribution
loris-0.2.0-py3-none-any.whl
(28.0 kB
view details)
File details
Details for the file loris-0.2.0.tar.gz
.
File metadata
- Download URL: loris-0.2.0.tar.gz
- Upload date:
- Size: 6.1 kB
- 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 | 4fd9f1e4bcbb64d4333662960946d6b2c069eb11eeceba1ca5d59cfc10bee98e |
|
MD5 | c9e5801da0ff9afbf3562bd844ddb32d |
|
BLAKE2b-256 | 7355f900c0f6811de07c35eef76c6d0eb072f7b4f07991acf4cc3f7b6c544cec |
File details
Details for the file loris-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: loris-0.2.0-py3-none-any.whl
- Upload date:
- Size: 28.0 kB
- Tags: Python 3
- 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 | ecb2d9e87732cf6157eb207fe10d7dd0645308678cd638a69830cee966d8e370 |
|
MD5 | 199142d2ec563f3e43b382a16506736c |
|
BLAKE2b-256 | 3a8b61fb0cda3d8680a773a32996924323bd538339ce637eab35fbada2a51198 |