SiPrefix

class simtk.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)

Methods

__init__(prefix, factor, symbol)
__mul__(unit)

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

__delattr__

x.__delattr__(‘name’) <==> del x.name

__format__()

default object formatter

__getattribute__

x.__getattribute__(‘name’) <==> x.name

__hash__
__reduce__()

helper for pickle

__reduce_ex__()

helper for pickle

__repr__
__setattr__

x.__setattr__(‘name’, value) <==> x.name = value

__sizeof__() → int

size of object in memory, in bytes

__str__