enable

sbpy.units.enable()[source]

Enable sbpy units in the top-level astropy.units namespace.

Allows the use in find_equivalent_units and compose.

May be used with the with statement to enable them temporarily.