evlib.codec.fileformat.aedat¶
aedat file formats, mainly for DV software by iniVation.
Classes
|
Base AEDAT4 iterator backed by the local AEDAT4 reader. |
|
Iterator over AEDAT4 event packets. |
|
Iterator over AEDAT4 frame packets. |
|
Iterator over AEDAT4 IMU packets. |
|
Iterator over AEDAT4 trigger packets. |
- class evlib.codec.fileformat.aedat.IteratorAedat4(aedat4_file)¶
Base AEDAT4 iterator backed by the local AEDAT4 reader.
- Parameters:
aedat4_file (str)
- FORMAT = 'aedat4'¶
- close()¶
Close the underlying AEDAT4 reader.
- Return type:
None
- class evlib.codec.fileformat.aedat.IteratorAedat4Event(aedat4_file)¶
Iterator over AEDAT4 event packets.
- Parameters:
aedat4_file (str)
- __next__()¶
Return the next AEDAT4 event packet.
- Returns:
Event packet with x, y, timestamp, and polarity arrays.
- Return type:
- FORMAT = 'aedat4'¶
- close()¶
Close the underlying AEDAT4 reader.
- Return type:
None
- class evlib.codec.fileformat.aedat.IteratorAedat4Trigger(aedat4_file)¶
Iterator over AEDAT4 trigger packets.
- Parameters:
aedat4_file (str)
- __next__()¶
Return the next AEDAT4 trigger row.
- Returns:
Dictionary with
triggeras an array of[timestamp, type]rows andnumas the row count.- Return type:
Dict[str, Any]
- FORMAT = 'aedat4'¶
- close()¶
Close the underlying AEDAT4 reader.
- Return type:
None
- class evlib.codec.fileformat.aedat.IteratorAedat4Imu(aedat4_file)¶
Iterator over AEDAT4 IMU packets.
- Parameters:
aedat4_file (str)
- __next__()¶
Return the next AEDAT4 IMU row.
- Returns:
Dictionary with
imuas[timestamp, ax, ay, az, gx, gy, gz]andnumas the row count.- Return type:
Dict[str, Any]
- FORMAT = 'aedat4'¶
- close()¶
Close the underlying AEDAT4 reader.
- Return type:
None
- class evlib.codec.fileformat.aedat.IteratorAedat4Frame(aedat4_file)¶
Iterator over AEDAT4 frame packets.
- Parameters:
aedat4_file (str)
- __next__()¶
Return the next AEDAT4 frame packet.
- Returns:
Dictionary with
frameas a(1, height, width, channels)array,tas the frame timestamp, andnumas the frame count.- Return type:
Dict[str, Any]
- FORMAT = 'aedat4'¶
- close()¶
Close the underlying AEDAT4 reader.
- Return type:
None