PrefixUnit¶
-
class
astropy.units.
PrefixUnit
(st, represents=None, doc=None, format=None, namespace=None)[source] [edit on github]¶ Bases:
astropy.units.Unit
A unit that is simply a SI-prefixed version of another unit.
For example,
mm
is aPrefixUnit
of.001 * m
.The constructor is the same as for
Unit
.