pyradtran.config.SimulationConfig.to_dict

pyradtran.config.SimulationConfig.to_dict#

SimulationConfig.to_dict() Dict[str, Any][source]#

Serialise the full configuration to a plain nested dict.

All Path objects are converted to strings so the result is immediately YAML-serialisable.

Returns:

Nested dictionary mirroring the YAML structure.

Return type:

dict

See also

to_yaml

Write the result directly to a file.