pymovements.datasets.EMTeC.to_yaml#
- EMTeC.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
Noneor that are objects that evaluate toFalse(e.g.,[],{},EyeTracker()). Attributes of typebool,int, andfloatare not excluded.