Skip to main content

read and write files from neuromorphic cameras

Project description

Loris

Travis

read and write different file formats from neuromorphic cameras such as .dat, .es or .csv and also amazing animal

If you're planning to read .aedat files, take a look at dv-python

Supported formats

version read write
.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.4.tar.gz (8.8 MB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: loris-0.3.4.tar.gz
  • Upload date:
  • Size: 8.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.18.4 setuptools/39.1.0 requests-toolbelt/0.9.1 tqdm/4.33.0 CPython/2.7.16

File hashes

Hashes for loris-0.3.4.tar.gz
Algorithm Hash digest
SHA256 0301141664725a68eb18535c7f0df356546eb217ea056e4ca0aec5e89d57c1fd
MD5 5d98db30b80c6f7b64019390977ff431
BLAKE2b-256 ae6df808170081f0f5c75894ca57d8b7e247dd7944352426838f19c0a1de4b28

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