astropy:docs

enable

astropy.units.cds.enable()[source] [edit on github]

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

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

Page Contents