Skip to main content

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

loris

Project details


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 hashes)

Uploaded Source

Built Distribution

loris-0.2.0-py3-none-any.whl (28.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page