PrefixUnit#

class astropy.units.PrefixUnit(s='', represents=None, format=None, namespace=None, doc=None, parse_strict='raise')[source]#

Bases: 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.