read_yaml#

gammapy.utils.scripts.read_yaml(filename, logger=None)[source]#

Read YAML file.

Parameters
filenamePath

Filename

loggerLogger

Logger

Returns
datadict

YAML file content as a dict