Module contents, force=None)[source]

Reads medium definition from YAML file filename. Raises an IOError if the file is not found, ValueError if medium type is not known and a LookupError if the parameter definition is incomplete.

One may set the optional argument ‘force’ to a medium type to force loading this one.