pymovements.datasets.JuDo1000.load#

JuDo1000.load(events: bool = False, preprocessed: bool = False, subset: None | dict[str, float | int | str | list[float | int | str]] = None, events_dirname: str | None = None, preprocessed_dirname: str | None = None, extension: str = 'feather')[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.

  • events_dirname (str) – One-time usage of an alternative directory name to save data relative to pymovements.Dataset.path(). This argument is used only for this single call and does not alter pymovements.Dataset.events_rootpath().

  • preprocessed_dirname (str) – One-time usage of an alternative directory name to save data relative to pymovements.Dataset.path(). This argument is used only for this single call and does not alter pymovements.Dataset.preprocessed_rootpath().

  • extension – Specifies the file format for loading data. Valid options are: csv, feather. :Default: feather.

  • attribute. (All gaze files will be loaded as dataframes and assigned to the gaze) –

  • attribute.