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
events = loris.read_file("/path/to/my-file.dat")
Loop over all events
for event in events:
print("ts:", event['ts'], "x:", event['x'], "y:", event['y'], "p:", event['p'])
Write events to file using one of the supported formats, for example .es
loris.write_events_to_file(events, "/path/to/my-file.es")
Please use Pylint before creating a Pull Request. 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.1.tar.gz
(7.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
loris-0.2.1-py3-none-any.whl
(28.9 kB
view details)
File details
Details for the file loris-0.2.1.tar.gz.
File metadata
- Download URL: loris-0.2.1.tar.gz
- Upload date:
- Size: 7.5 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 |
16bfbd1c21c28235ef46ba90dda6b9058ccd4dde1cf6325d921b87743c8e3614
|
|
| MD5 |
25fdd12c42778e1dcf3e57d07b5c05c5
|
|
| BLAKE2b-256 |
bb0172d318f0371350680e079ee3fbdf4a41b4fef31a582ee5976d73d89371a1
|
File details
Details for the file loris-0.2.1-py3-none-any.whl.
File metadata
- Download URL: loris-0.2.1-py3-none-any.whl
- Upload date:
- Size: 28.9 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 |
5cd13a81ef5d4c207d61e32e6aafd1919d6bc5e2854d6cb88a7a2b532a2ea7e5
|
|
| MD5 |
325ca837968c96896527ae18d1558d2c
|
|
| BLAKE2b-256 |
ace7907ad1f2a8de1469fe9f669349c10316091aad61a794a8df0d9ff03fbf49
|