astropy:docs

VOUnit

class astropy.units.format.VOUnit[source] [edit on github]

Bases: astropy.units.format.Generic

The proposed IVOA standard for units used by the VO.

This is an implementation of proposed IVOA standard for units.

Methods Summary

parse(s[, debug]) Convert a string to a unit object.
to_string(unit) Convert a unit object to a string.

Methods Documentation

parse(s, debug=False)[source] [edit on github]

Convert a string to a unit object.

to_string(unit)[source] [edit on github]

Convert a unit object to a string.

Page Contents