set_enabled_constants¶
-
astropy.constants.set_enabled_constants(modname)[source] [edit on github]¶ Context manager to temporarily set values in the
constantsnamespace to an older version. See Collections of constants (and prior versions) for usage.Parameters: modname : {‘astropyconst13’}
Name of the module containing an older version.