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

Bases: astropy.units.format.Base

A “generic” format.

The syntax of the format is based directly on the FITS standard, but instead of only supporting the units that FITS knows about, it supports any unit available in the astropy.units namespace.

Attributes Summary


Methods Summary

parse(s[, debug])

Attributes Documentation

name = 'generic'

Methods Documentation

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