pymovements.datasets.BSC.to_yaml#

BSC.to_yaml(path: str | Path, *, exclude_private: bool = True, exclude_none: bool = True) None[source]#

Save a dataset definition to a YAML file.

Parameters:
  • path (str | Path) – Path where to save the YAML file to.

  • exclude_private (bool) – Exclude attributes that start with _.

  • exclude_none (bool) – Exclude attributes that are either None or that are objects that evaluate to False (e.g., [], {}, EyeTracker()). Attributes of type bool, int, and float are not excluded.