toml_to_dicts#
- skysim.settings.toml_to_dicts(filename)[source]#
Read the configuration file and combine it with the default configuration to get dictionaries of values which can be used for the various
Settingsclasses.- Parameters:
- filename
pathlib.Path Path the the toml config file.
- filename
- Returns:
tuple[ConfigMapping]Dictionary for
Settings,ImageSettings, andPlotSettings.