bilby.core.utils.io.decode_astropy_quantity

bilby.core.utils.io.decode_astropy_quantity(dct)[source]

Decode an astropy quantity from a dictionary.

The dictionary should have been encoded using encode_astropy_quantity() and should have the key __astropy_quantity__.