PrefixUnit

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

Bases: astropy.units.core.Unit

A unit that is simply a SI-prefixed version of another unit.

For example, mm is a PrefixUnit of .001 * m.

The constructor is the same as for Unit.

Page Contents