qudi.util.yaml.yaml_load

qudi.util.yaml.yaml_load(file_path: str | bytes | PathLike, ignore_missing: bool | None = False) Dict[str, Any][source]

Loads a qudi style YAML file. Raises OSError if the file does not exist or can not be accessed.

@param str file_path: path to config file @param bool ignore_missing: optional, flag to suppress FileNotFoundError

@return dict: The data as python/numpy objects in a dict