write_yaml# gammapy.utils.scripts.write_yaml(dictionary, filename, logger=None, sort_keys=True, checksum=False)[source]# Write YAML file. Parameters: dictionarydictPython dictionary. filenamePathFilename. loggerLogger, optionalLogger. Default is None. sort_keysbool, optionalWhether to sort keys. Default is True. checksumbool, optionalWhether to add checksum keyword. Default is False.