SiPrefix

class openmm.unit.prefix.SiPrefix(prefix, factor, symbol)

Unit prefix that can be multiplied by a unit to yield a new unit.

e.g. millimeter = milli*meter

__init__(prefix, factor, symbol)

Initialize self. See help(type(self)) for accurate signature.

Methods

__init__(prefix, factor, symbol)

Initialize self.

__mul__(unit)

SiPrefix * BaseUnit yields new BaseUnit SiPrefix * ScaledUnit yields new ScaledUnit SiPrefix * Unit with exactly one BaseUnit or ScaledUnit yields new Unit