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

Master Branch build status: Build Status

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
my_file = loris.read_file("/path/to/my-file.dat")
Loop over all events
for event in my_file['events']:
    print("ts:", event['t'], "x:", event['x'], "y:", event['y'], "p:", event['polarity'])
Write events to file using one of the supported formats, for example .es
loris.write_events_to_file(my_file, "/path/to/my-file.es")

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.3.1.tar.gz (27.5 kB view details)

Uploaded Source

File details

Details for the file loris-0.3.1.tar.gz.

File metadata

  • Download URL: loris-0.3.1.tar.gz
  • Upload date:
  • Size: 27.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

Hashes for loris-0.3.1.tar.gz
Algorithm Hash digest
SHA256 32893670deee782ce3b19b8418cf6cae910c33c8d428cb36d42dc1cf3f2e35b8
MD5 a413e59d52c489b7eaa05ab4cd00b0d8
BLAKE2b-256 59fbaaa3b8da4933a1fc383861723406d10dc8ccdfaadc93f8c970e416fab33b

See more details on using hashes here.

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