enable

astropy.units.cds.enable()[source]

Enable CDS units so they appear in results of find_equivalent_units and compose. This will disable all of the “default” astropy.units units, since there are some namespace clashes between the two.

This may be used with the with statement to enable CDS units only temporarily.