pyradtran.config.SimulationConfig.from_yaml

pyradtran.config.SimulationConfig.from_yaml#

classmethod SimulationConfig.from_yaml(yaml_path: str | Path) SimulationConfig[source]#

Load configuration from a single YAML file.

Parameters:

yaml_path (str or pathlib.Path) – Path to the YAML file.

Return type:

SimulationConfig

Raises:

FileNotFoundError – If yaml_path does not exist.