pymovements.events.event_processing.EventGazeProcessor.process#
- EventGazeProcessor.process(events: EventDataFrame, gaze: GazeDataFrame, identifiers: str | list[str]) pl.DataFrame[source]#
Process event and gaze dataframe.
- Parameters:
events – Event data to process event properties from.
gaze – Gaze data to process event properties from.
identifiers – Column names to join on events and gaze dataframes.
- Returns:
polars.DataFramewith properties as columns and rows refering to the rows in the source dataframe.- Return type:
pl.DataFrame
- Raises:
ValueError – If list of identifiers is empty.
InvalidProperty – If
property_nameis not a valid property. Seepymovements.events.event_propertiesfor an overview of supported properties.