astropy:docs

UnrecognizedUnit

class astropy.units.core.UnrecognizedUnit(st)[source] [edit on github]

Bases: astropy.units.core.IrreducibleUnit

A unit that did not parse correctly. This allows for roundtripping it as a string, but no unit operations actually work on it.

Parameters :

st : str

The name of the unit.

Methods Summary

get_converter(other[, equivalencies])
get_format_name(format)
is_equivalent(other[, equivalencies])
is_unity()
to_string([format])

Methods Documentation

get_converter(other, equivalencies=None)[source] [edit on github]
get_format_name(format)[source] [edit on github]
is_equivalent(other, equivalencies=None)[source] [edit on github]
is_unity()[source] [edit on github]
to_string(format=u'generic')[source] [edit on github]

Page Contents