astro py:docs

- Index
- Modules

### Navigation

- next »
- « previous |
- Astropy v5.2.1 »
- Units and Quantities (`astropy.units`) »
- CDS

# CDS

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

  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)

    Convert a string to a unit object.

  classmethod to_string(unit)

    Convert a unit object to a string.