Generic¶
-
class
astropy.units.format.
Generic
[source] [edit on github]¶ Bases:
astropy.units.format.Base
A “generic” format.
The syntax of the format is based directly on the FITS standard, but instead of only supporting the units that FITS knows about, it supports any unit available in the
astropy.units
namespace.Attributes Summary
name
Methods Summary
Attributes Documentation
-
name
= 'generic'¶
Methods Documentation
-
parse
(s, debug=False)[source] [edit on github]¶ Convert a string to a unit object.
-
classmethod
to_string
(unit)[source] [edit on github]¶
-