Skip to main content

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

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.1.tar.gz (7.5 kB view hashes)

Uploaded Source

Built Distribution

loris-0.2.1-py3-none-any.whl (28.9 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