read_yaml#

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

Read YAML file.

Parameters:
filenamePath

Filename.

loggerLogger

Logger.

checksumbool

Whether to perform checksum verification. Default is False.

Returns:
datadict

YAML file content as a dictionary.