pymovements.datasets.PublicDataset.pix2deg#
- PublicDataset.pix2deg(verbose: bool = True) None[source]#
Compute gaze positions in degrees of visual angle from pixel coordinates.
This method requires a properly initialized
experimentattribute.After success, the gaze dataframe is extended by the resulting dva columns.
- Parameters:
verbose (bool) – If True, show progress of computation.
- Raises:
AttributeError – If gaze is None or there are no gaze dataframes present in the gaze attribute, or if experiment is None.