uvex_transients.utils.io_utils.get_config_yaml#

uvex_transients.utils.io_utils.get_config_yaml() → YAML[source]#

Return a YAML serializer configured for Astropy cosmologies.

The returned ruamel.yaml.YAML instance supports the !astropy_cosmology tag for serializing and deserializing named Astropy cosmology realizations.

Returns:

YAML serializer and deserializer configured with the !astropy_cosmology representer and constructor.

Return type:

ruamel.yaml.YAML