pymovements.gaze.GazeDataFrame.pix2deg#

GazeDataFrame.pix2deg() None#

Compute gaze positions in degrees of visual angle from pixel position coordinates.

This method requires a properly initialized experiment attribute.

After success, the gaze dataframe is extended by the resulting dva position columns.

Raises:

AttributeError – If gaze is None or there are no gaze dataframes present in the gaze attribute, or if experiment is None.