enable#

astropy.units.deprecated.enable()[source]#

Enable deprecated units so they appear in results of find_equivalent_units and compose.

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