CDS

class astropy.units.format.CDS(*args, **kwargs)[source]

Bases: 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]

Convert a string to a unit object.

classmethod to_string(unit)[source]

Convert a unit object to a string.