astro py:docs

- Index
- Modules

### Navigation

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

# VOUnit

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

  Bases: `Generic`

  The IVOA standard for units used by the VO.

  This is an implementation of Units in the VO 1.0.

  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 = 'vounit'

  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.