IrreducibleUnit

class astropy.units.core.IrreducibleUnit(st, register=False, doc=None, format=None) [edit on github][source]

Bases: astropy.units.core.NamedUnit

Irreducible units are the units that all other units are defined in terms of.

Examples are meters, seconds, kilograms, amperes, etc. There is only once instance of such a unit per type.

Methods Summary

decompose() Return a unit object composed of only irreducible units.

Methods Documentation

decompose() [edit on github][source]

Return a unit object composed of only irreducible units.

Parameters :

None :

Returns :

unit : CompositeUnit object

New object containing only irreducible unit objects.

Page Contents