bilby.core.utils.io.decode_astropy_cosmology
- bilby.core.utils.io.decode_astropy_cosmology(dct)[source]
Decode an astropy cosmology from a dictionary.
The dictionary should have been encoded using
encode_astropy_cosmology()and should have the key__cosmology__.