Base¶
-
class
astropy.units.format.Base[source] [edit on github]¶ Bases:
objectThe abstract base class of all unit formats.
Attributes Summary
nameMethods Summary
parse(s)Convert a string to a unit object. to_string(u)Convert a unit object to a string. Attributes Documentation
-
name= 'base'¶
Methods Documentation
-
classmethod
parse(s)[source] [edit on github]¶ Convert a string to a unit object.
-
classmethod
to_string(u)[source] [edit on github]¶ Convert a unit object to a string.
-