python3 library to handle event-based files
Project description
loris
python3 library to handle event-based file formats such as .es, .dat or .aedat and also amazing animal
Install
Currently only locally. Soon to be released via PyPi.
Dependencies
- numpy
How to loris
To read a file, use
import loris
stream = loris.readsteam("filename")
The function returns a numpy recarray containing an array of event data
Each field can be accessed using its name as stream.data.<fieldname> which returns again an array.
As an example to loop over all events:
for datum in stream data:
print (data.ts)
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
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
File details
Details for the file loris-0.1.0.tar.gz.
File metadata
- Download URL: loris-0.1.0.tar.gz
- Upload date:
- Size: 6.9 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 |
b70d5ebac206fa08627f4786a3d334bf53d08b458f1964237a17ed6408eda0c7
|
|
| MD5 |
e79f6992a447ebac9dfec97757a0064b
|
|
| BLAKE2b-256 |
2a85e657438cf920bb5690bce6774b702d8627bcb8a7d845ec7572d222775fb0
|
File details
Details for the file loris-0.1.0-py3-none-any.whl.
File metadata
- Download URL: loris-0.1.0-py3-none-any.whl
- Upload date:
- Size: 23.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 |
1ac71fd39cf925e6806862cd0c983d10df01757ac69c2179c8e2517338270a26
|
|
| MD5 |
06693b39f7f3c12fdfb59d02911929a6
|
|
| BLAKE2b-256 |
2912077a58a3331148440b0b33604a139ae7d54e1a0fde18afad75987e3c03fc
|