Generic

class astropy.units.format.Generic[source]

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

name

Methods Summary

parse(s[, debug])
to_string(unit)

Attributes Documentation

name = 'generic'

Methods Documentation

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