evlib.types.raw_event¶
Data type for a single event.
Classes
|
Dataclass for raw events |
- class evlib.types.raw_event.RawEvent(x, y, timestamp, polarity)¶
Dataclass for raw events
- Parameters:
x (int16)
y (int16)
timestamp (float64)
polarity (bool)
- x: int16¶
- y: int16¶
- timestamp: float64¶
- property t: float64¶
Alias for timestamp.
- as_numpy()¶
Convert event object into 1-d numpy array.
- Returns:
1-d numpy array.
- Return type:
npt.NDArray[np.float64]