pymovements.Gaze.compute_event_properties#
- Gaze.compute_event_properties(event_properties: str | tuple[str, dict[str, Any]] | list[str | tuple[str, dict[str, Any]]], name: str | None = None) None[source]#
Calculate event properties for given events.
The calculated event properties are added as columns to
events.- Parameters:
- Raises:
InvalidProperty – If
property_nameis not a valid property. Seepymovements.events.event_propertiesfor an overview of supported properties.RuntimeError – If specified event name
nameis missing fromevents.ValueError – If the computed property already exists as a column in
events.