Metadata-Version: 2.1
Name: loris
Version: 0.2.1
Summary: read and write files from neuromorphic cameras
Home-page: https://github.com/neuromorphic-paris/loris
Author: Gregor Lenz
Author-email: gregor.lenz@inserm.fr
License: UNKNOWN
Description: # loris
        read and write different file formats from neuromorphic cameras such as [.aedat](https://inivation.com/support/software/fileformat/), **.dat**, [.es](https://github.com/neuromorphic-paris/event_stream) or **.csv** and also [amazing animal](https://giphy.com/search/slow-loris)
        
        ### Supported formats
        |        | version | read    | write   |
        |--------|--------:|:-------:|:-------:|
        | .aedat | 3.x     | &#9744; | &#9744; |
        | .dat   | n/a     | &#9745; | &#9744; |
        | .es    | 2.x     | &#9745; | &#9745; |
        | .csv   | -       | &#9745; | &#9744; |
        
        ### Install
        ~~~python
        pip install loris
        ~~~
        
        ### How to loris
        ##### Read a file, for example a .dat file
        ~~~python
        import loris
        events = loris.read_file("/path/to/my-file.dat")
        ~~~
        
        ##### Loop over all events
        ~~~python
        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
        ~~~python
        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](loris.gif "The Loris Banner")
        
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown
