pymovements.datasets.gazebase.GazeBase.load#
- GazeBase.load(events: bool = False, preprocessed: bool = False, subset: None | dict[str, float | int | str | list[float | int | str]] = None)[source]#
Parse file information and load all gaze files.
- Parameters:
events (bool) – If
True, load previously saved event data.preprocessed (bool) – If
True, load previously saved preprocessed data, otherwise load raw data.subset (dict, optional) – If specified, load only a subset of the dataset. All keys in the dictionary must be present in the fileinfo dataframe inferred by infer_fileinfo(). Values can be either float, int , str or a list of these.
attribute. (All gaze files will be loaded as dataframes and assigned to the gaze) –
attribute. –