enable

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

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

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