Contents:
Examples:
Bilby
API:
Encode an astropy unit object to a dictionary.
Adds the key __astropy_unit__ to the dictionary to indicate that the object is a unit object.
__astropy_unit__
Added in version 2.5.0.