pymovements.gaze.GazeDataFrame.pos2vel#
- GazeDataFrame.pos2vel(method: str = 'fivepoint', **kwargs: int | float | str) None #
Compute gaze velocity in dva/s from dva position coordinates.
This method requires a properly initialized
experiment
attribute.After success, the gaze dataframe is extended by the resulting velocity columns.
- Parameters:
- Raises:
AttributeError – If gaze is None or there are no gaze dataframes present in the gaze attribute, or if experiment is None.