Skip to main content

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 1/2
.es 2.x
.csv -
.aedat4 4

Install

pip install loris

How to loris

Read a file, for example a .dat file and loop over all events
import loris
my_file = loris.read_file("/path/to/my-file.dat")
events = my_file['events']

for event in events:
    print("ts:", event.t, "x:", event.x, "y:", event.y, "p:", event.p)
Write events from an array to an .es file
ordering = "xytp"  # corresponds to the order in your array
loris.write_events_to_file(event_array, "/path/to/my-file.es", ordering)
Write structured events (with dtypes) to an .es file
loris.write_events_to_file(structured_event_array, "/path/to/my-file.es")

loris

Release files for loris 0.5.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for loris 0.5.0
File Size Uploaded
loris-0.5.0.tar.gz 8.9 MB Details

Release files / loris-0.5.0.tar.gz

Download URL loris-0.5.0.tar.gz
Size 8.9 MB
Tags Source
SHA-256 checksum
How to use checksums
cbeb8c09b6543eacb0eaddea2291069f867944f307462c678ed5e48e5cb12c92
BLAKE2b-256 checksum
How to use checksums
3cde54249efdb5373fff36421d8f8097e8ed4766b878ce92570d63bc236fb409
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

0.5.3

1 release file

0.5.2

1 release file

0.5.1

1 release file

This release

0.5.0 This release

1 release file

0.4.2

1 release file

0.4.1

1 release file

0.4.0

1 release file

0.3.7

1 release file

0.3.6

1 release file

0.3.5

1 release file

0.3.4

1 release file

0.3.3

1 release file

0.3.2

1 release file

0.3.1

1 release file

0.3.0

1 release file

0.2.1

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page