pymovements.Experiment.to_yaml#
- Experiment.to_yaml(path: str | Path, *, exclude_none: bool = True) None[source]#
Save an experiment to a YAML file.
- Parameters:
path (str | Path) – Path where to save the YAML file to.
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.