pymovements.dataset.DatasetPaths.get_preprocessed_filepath#

DatasetPaths.get_preprocessed_filepath(raw_filepath: Path, *, preprocessed_dirname: str | None = None, extension: str = 'feather') Path#

Get preprocessed filepath in accordance to filepath of the raw file.

The preprocessed filepath will point to a feather file.

Parameters:
  • raw_filepath (Path) – The Path to the raw file.

  • preprocessed_dirname (str | None) – 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(). (default: None)

  • extension (str) – extension specifies the fileformat to store the data. (default: ‘feather’)

Returns:

The Path to the preprocessed feather file.

Return type:

Path