bilby.core.utils.io.decode_astropy_unit
- bilby.core.utils.io.decode_astropy_unit(dct)[source]
Decode an astropy unit from a dictionary.
The dictionary should have been encoded using
encode_astropy_unit()and should have the key__astropy_unit__.Added in version 2.5.0.