Note

You are not reading the most up to date version of Gammapy documentation.
Access the latest stable version v1.3 or the list of Gammapy releases.

read_yaml

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

Read YAML file

Parameters:
filename : Path, str

File to read