CDS¶
-
class
astropy.units.format.
CDS
[source] [edit on github]¶ Bases:
astropy.units.format.Base
Support the Centre de Données astronomiques de Strasbourg Standards for Astronomical Catalogues 2.0 format, and the complete set of supported units. This format is used by VOTable up to version 1.2.
Attributes Summary
name
Methods Summary
parse
(s[, debug])Convert a string to a unit object. to_string
(unit)Convert a unit object to a string. Attributes Documentation
-
name
= 'cds'¶
Methods Documentation
-
classmethod
parse
(s, debug=False)[source] [edit on github]¶ Convert a string to a unit object.
-
classmethod
to_string
(unit)[source] [edit on github]¶ Convert a unit object to a string.
-