scopesim.commands.user_commands.load_yaml_dicts

scopesim.commands.user_commands.load_yaml_dicts#

scopesim.commands.user_commands.load_yaml_dicts(filename: str) list[dict[str, Any]]#

Load one or more dicts stored in a YAML file under filename.

Parameters:

filename (str) – Path to the YAML file

Returns:

yaml_dicts – A list of dicts

Return type:

list