Skip to main content

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

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

Uploaded Source

Built Distribution

loris-0.1.0-py3-none-any.whl (23.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