create_imagers¶
-
gunagala.imager.create_imagers(config=None)[source]¶ Parse config and create a corresponding dictionary of Imager objects.
Parses a configuration and creates a dictionary of Imager objects corresponding to the imaging instruments described by that config. The config can be passed to the function as a dictionary object, otherwise the config will be read from the
gunagala/data/performance.yamland, if it exists, theperformance_local.yamlfile.Parameters: - config : dict, optional
a dictionary containing the performance data configuration. If not specified
load_config()will be used to attempt to load aperformance.yamland/orperformance_local.yamlfile and use the resulting config.
Returns: - imagers: dict
dictionary of
Imagerobjects.