11.1.14.1. SiUnits¶
This module defines SI prefixes and units.
-
class
PySpice.Unit.SiUnits.
Ampere
(si_unit=None)[source]¶ Bases:
PySpice.Unit.Unit.SiBaseUnit
-
QUANTITY
= 'electric current'¶
-
SI_UNIT
= SiDerivedUnit(A)¶
-
UNIT_NAME
= 'ampere'¶
-
UNIT_SUFFIX
= 'A'¶
-
-
class
PySpice.Unit.SiUnits.
Atto
[source]¶ Bases:
PySpice.Unit.Unit.UnitPrefix
-
POWER
= -18¶
-
PREFIX
= 'a'¶
-
SPICE_PREFIX
= None¶
-
-
class
PySpice.Unit.SiUnits.
Becquerel
(si_unit=None)[source]¶ Bases:
PySpice.Unit.Unit.Unit
-
QUANTITY
= 'radioactivity (decays per unit time)'¶
-
SI_UNIT
= SiDerivedUnit(s^-1)¶
-
UNIT_NAME
= 'becquerel'¶
-
UNIT_SUFFIX
= 'Bq'¶
-
-
class
PySpice.Unit.SiUnits.
Candela
(si_unit=None)[source]¶ Bases:
PySpice.Unit.Unit.SiBaseUnit
-
QUANTITY
= 'luminosity intensity'¶
-
SI_UNIT
= SiDerivedUnit(cd)¶
-
UNIT_NAME
= 'candela'¶
-
UNIT_SUFFIX
= 'cd'¶
-
-
class
PySpice.Unit.SiUnits.
Coulomb
(si_unit=None)[source]¶ Bases:
PySpice.Unit.Unit.Unit
-
DEFAULT_UNIT
= True¶
-
QUANTITY
= 'electric charge'¶
-
SI_UNIT
= SiDerivedUnit(s*A)¶
-
UNIT_NAME
= 'coulomb'¶
-
UNIT_SUFFIX
= 'C'¶
-
-
class
PySpice.Unit.SiUnits.
Deca
[source]¶ Bases:
PySpice.Unit.Unit.UnitPrefix
-
POWER
= 1¶
-
PREFIX
= 'da'¶
-
SPICE_PREFIX
= None¶
-
-
class
PySpice.Unit.SiUnits.
DegreeCelcius
(si_unit=None)[source]¶ Bases:
PySpice.Unit.Unit.Unit
-
QUANTITY
= 'temperature relative to 273.15 K'¶
-
SI_UNIT
= SiDerivedUnit(K)¶
-
UNIT_NAME
= 'degree celcuis'¶
-
UNIT_SUFFIX
= '°C'¶
-
-
class
PySpice.Unit.SiUnits.
Exa
[source]¶ Bases:
PySpice.Unit.Unit.UnitPrefix
-
POWER
= 18¶
-
PREFIX
= 'E'¶
-
SPICE_PREFIX
= None¶
-
-
class
PySpice.Unit.SiUnits.
Farad
(si_unit=None)[source]¶ Bases:
PySpice.Unit.Unit.Unit
-
DEFAULT_UNIT
= True¶
-
QUANTITY
= 'capacitance'¶
-
SI_UNIT
= SiDerivedUnit(m^-2*kg^-1*s^4*A^2)¶
-
UNIT_NAME
= 'farad'¶
-
UNIT_SUFFIX
= 'F'¶
-
-
class
PySpice.Unit.SiUnits.
Femto
[source]¶ Bases:
PySpice.Unit.Unit.UnitPrefix
-
POWER
= -15¶
-
PREFIX
= 'f'¶
-
SPICE_PREFIX
= None¶
-
-
class
PySpice.Unit.SiUnits.
Giga
[source]¶ Bases:
PySpice.Unit.Unit.UnitPrefix
-
POWER
= 9¶
-
PREFIX
= 'G'¶
-
-
class
PySpice.Unit.SiUnits.
Gray
(si_unit=None)[source]¶ Bases:
PySpice.Unit.Unit.Unit
-
QUANTITY
= 'absorbed dose (of ionizing radiation)'¶
-
SI_UNIT
= SiDerivedUnit(m^2*s^-2)¶
-
UNIT_NAME
= 'gray'¶
-
UNIT_SUFFIX
= 'Gy'¶
-
-
class
PySpice.Unit.SiUnits.
Hecto
[source]¶ Bases:
PySpice.Unit.Unit.UnitPrefix
-
POWER
= 2¶
-
PREFIX
= 'h'¶
-
SPICE_PREFIX
= None¶
-
-
class
PySpice.Unit.SiUnits.
Henry
(si_unit=None)[source]¶ Bases:
PySpice.Unit.Unit.Unit
-
DEFAULT_UNIT
= True¶
-
QUANTITY
= 'inductance'¶
-
SI_UNIT
= SiDerivedUnit(m^2*kg*s^-2*A^-2)¶
-
UNIT_NAME
= 'henry'¶
-
UNIT_SUFFIX
= 'H'¶
-
-
class
PySpice.Unit.SiUnits.
Hertz
(si_unit=None)[source]¶ Bases:
PySpice.Unit.Unit.Unit
-
DEFAULT_UNIT
= True¶
-
QUANTITY
= 'frequency'¶
-
SI_UNIT
= SiDerivedUnit(s^-1)¶
-
UNIT_NAME
= 'frequency'¶
-
UNIT_SUFFIX
= 'Hz'¶
-
-
class
PySpice.Unit.SiUnits.
Joule
(si_unit=None)[source]¶ Bases:
PySpice.Unit.Unit.Unit
-
DEFAULT_UNIT
= True¶
-
QUANTITY
= 'energy'¶
-
SI_UNIT
= SiDerivedUnit(m^2*kg*s^-2)¶
-
UNIT_NAME
= 'joule'¶
-
UNIT_SUFFIX
= 'J'¶
-
-
class
PySpice.Unit.SiUnits.
Katal
(si_unit=None)[source]¶ Bases:
PySpice.Unit.Unit.Unit
-
DEFAULT_UNIT
= True¶
-
QUANTITY
= 'catalytic activity'¶
-
SI_UNIT
= SiDerivedUnit(s^-1*mol)¶
-
UNIT_NAME
= 'katal'¶
-
UNIT_SUFFIX
= 'kat'¶
-
-
class
PySpice.Unit.SiUnits.
Kelvin
(si_unit=None)[source]¶ Bases:
PySpice.Unit.Unit.SiBaseUnit
-
QUANTITY
= 'thermodynamic temperature'¶
-
SI_UNIT
= SiDerivedUnit(K)¶
-
UNIT_NAME
= 'kelvin'¶
-
UNIT_SUFFIX
= 'K'¶
-
-
class
PySpice.Unit.SiUnits.
Kilo
[source]¶ Bases:
PySpice.Unit.Unit.UnitPrefix
-
POWER
= 3¶
-
PREFIX
= 'k'¶
-
-
class
PySpice.Unit.SiUnits.
Kilogram
(si_unit=None)[source]¶ Bases:
PySpice.Unit.Unit.SiBaseUnit
-
QUANTITY
= 'mass'¶
-
SI_UNIT
= SiDerivedUnit(kg)¶
-
UNIT_NAME
= 'kilogram'¶
-
UNIT_SUFFIX
= 'kg'¶
-
-
class
PySpice.Unit.SiUnits.
Lumen
(si_unit=None)[source]¶ Bases:
PySpice.Unit.Unit.Unit
-
QUANTITY
= 'luminous flux'¶
-
SI_UNIT
= SiDerivedUnit(cd)¶
-
UNIT_NAME
= 'lumen'¶
-
UNIT_SUFFIX
= 'lm'¶
-
-
class
PySpice.Unit.SiUnits.
Lux
(si_unit=None)[source]¶ Bases:
PySpice.Unit.Unit.Unit
-
DEFAULT_UNIT
= True¶
-
QUANTITY
= 'illuminance'¶
-
SI_UNIT
= SiDerivedUnit(m^-2*cd)¶
-
UNIT_NAME
= 'lux'¶
-
UNIT_SUFFIX
= 'lx'¶
-
-
class
PySpice.Unit.SiUnits.
Mega
[source]¶ Bases:
PySpice.Unit.Unit.UnitPrefix
-
POWER
= 6¶
-
PREFIX
= 'M'¶
-
SPICE_PREFIX
= 'Meg'¶
-
-
class
PySpice.Unit.SiUnits.
Metre
(si_unit=None)[source]¶ Bases:
PySpice.Unit.Unit.SiBaseUnit
-
QUANTITY
= 'length'¶
-
SI_UNIT
= SiDerivedUnit(m)¶
-
UNIT_NAME
= 'metre'¶
-
UNIT_SUFFIX
= 'm'¶
-
-
class
PySpice.Unit.SiUnits.
Micro
[source]¶ Bases:
PySpice.Unit.Unit.UnitPrefix
-
POWER
= -6¶
-
PREFIX
= 'μ'¶
-
SPICE_PREFIX
= 'u'¶
-
-
class
PySpice.Unit.SiUnits.
Milli
[source]¶ Bases:
PySpice.Unit.Unit.UnitPrefix
-
POWER
= -3¶
-
PREFIX
= 'm'¶
-
-
class
PySpice.Unit.SiUnits.
Mole
(si_unit=None)[source]¶ Bases:
PySpice.Unit.Unit.SiBaseUnit
-
QUANTITY
= 'amount of substance'¶
-
SI_UNIT
= SiDerivedUnit(mol)¶
-
UNIT_NAME
= 'mole'¶
-
UNIT_SUFFIX
= 'mol'¶
-
-
class
PySpice.Unit.SiUnits.
Nano
[source]¶ Bases:
PySpice.Unit.Unit.UnitPrefix
-
POWER
= -9¶
-
PREFIX
= 'n'¶
-
-
class
PySpice.Unit.SiUnits.
Newton
(si_unit=None)[source]¶ Bases:
PySpice.Unit.Unit.Unit
-
DEFAULT_UNIT
= True¶
-
QUANTITY
= 'force'¶
-
SI_UNIT
= SiDerivedUnit(m*kg*s^-2)¶
-
UNIT_NAME
= 'newton'¶
-
UNIT_SUFFIX
= 'N'¶
-
-
class
PySpice.Unit.SiUnits.
Ohm
(si_unit=None)[source]¶ Bases:
PySpice.Unit.Unit.Unit
-
DEFAULT_UNIT
= True¶
-
QUANTITY
= 'electric resistance, impedance, reactance'¶
-
SI_UNIT
= SiDerivedUnit(m^2*kg*s^-3*A^-2)¶
-
UNIT_NAME
= 'ohm'¶
-
UNIT_SUFFIX
= 'Ω'¶
-
-
class
PySpice.Unit.SiUnits.
Pascal
(si_unit=None)[source]¶ Bases:
PySpice.Unit.Unit.Unit
-
DEFAULT_UNIT
= True¶
-
QUANTITY
= 'pressure'¶
-
SI_UNIT
= SiDerivedUnit(m^-1*kg*s^-2)¶
-
UNIT_NAME
= 'pascal'¶
-
UNIT_SUFFIX
= 'Pa'¶
-
-
class
PySpice.Unit.SiUnits.
Peta
[source]¶ Bases:
PySpice.Unit.Unit.UnitPrefix
-
POWER
= 15¶
-
PREFIX
= 'P'¶
-
SPICE_PREFIX
= None¶
-
-
class
PySpice.Unit.SiUnits.
Pico
[source]¶ Bases:
PySpice.Unit.Unit.UnitPrefix
-
POWER
= -12¶
-
PREFIX
= 'p'¶
-
-
class
PySpice.Unit.SiUnits.
Radian
(si_unit=None)[source]¶ Bases:
PySpice.Unit.Unit.Unit
-
DEFAULT_UNIT
= True¶
-
QUANTITY
= 'angle'¶
-
SI_UNIT
= SiDerivedUnit()¶
-
UNIT_NAME
= 'radian'¶
-
UNIT_SUFFIX
= 'rad'¶
-
-
class
PySpice.Unit.SiUnits.
Second
(si_unit=None)[source]¶ Bases:
PySpice.Unit.Unit.SiBaseUnit
-
IS_SI
= True¶
-
QUANTITY
= 'time'¶
-
SI_UNIT
= SiDerivedUnit(s)¶
-
UNIT_NAME
= 'second'¶
-
UNIT_SUFFIX
= 's'¶
-
-
class
PySpice.Unit.SiUnits.
Siemens
(si_unit=None)[source]¶ Bases:
PySpice.Unit.Unit.Unit
-
DEFAULT_UNIT
= True¶
-
QUANTITY
= 'electrical conductance'¶
-
SI_UNIT
= SiDerivedUnit(m^-2*kg^-1*s^3*A^2)¶
-
UNIT_NAME
= 'siemens'¶
-
UNIT_SUFFIX
= 'S'¶
-
-
class
PySpice.Unit.SiUnits.
Sievert
(si_unit=None)[source]¶ Bases:
PySpice.Unit.Unit.Unit
-
QUANTITY
= ' equivalent dose (of ionizing radiation)'¶
-
SI_UNIT
= SiDerivedUnit(m^2*s^-2)¶
-
UNIT_NAME
= 'sievert'¶
-
UNIT_SUFFIX
= 'Sv'¶
-
-
class
PySpice.Unit.SiUnits.
Steradian
(si_unit=None)[source]¶ Bases:
PySpice.Unit.Unit.Unit
-
DEFAULT_UNIT
= True¶
-
QUANTITY
= 'solid angle'¶
-
SI_UNIT
= SiDerivedUnit()¶
-
UNIT_NAME
= 'steradian'¶
-
UNIT_SUFFIX
= 'sr'¶
-
-
class
PySpice.Unit.SiUnits.
Tera
[source]¶ Bases:
PySpice.Unit.Unit.UnitPrefix
-
POWER
= 12¶
-
PREFIX
= 'T'¶
-
-
class
PySpice.Unit.SiUnits.
Tesla
(si_unit=None)[source]¶ Bases:
PySpice.Unit.Unit.Unit
-
DEFAULT_UNIT
= True¶
-
QUANTITY
= 'T'¶
-
SI_UNIT
= SiDerivedUnit(kg*s^-2*A^-1)¶
-
UNIT_NAME
= 'tesla'¶
-
UNIT_SUFFIX
= ''¶
-
-
class
PySpice.Unit.SiUnits.
Volt
(si_unit=None)[source]¶ Bases:
PySpice.Unit.Unit.Unit
-
DEFAULT_UNIT
= True¶
-
QUANTITY
= 'voltage'¶
-
SI_UNIT
= SiDerivedUnit(m^2*kg*s^-3*A^-1)¶
-
UNIT_NAME
= 'volt'¶
-
UNIT_SUFFIX
= 'V'¶
-
-
class
PySpice.Unit.SiUnits.
Watt
(si_unit=None)[source]¶ Bases:
PySpice.Unit.Unit.Unit
-
DEFAULT_UNIT
= True¶
-
QUANTITY
= 'power'¶
-
SI_UNIT
= SiDerivedUnit(m^2*kg*s^-3)¶
-
UNIT_NAME
= 'watt'¶
-
UNIT_SUFFIX
= 'W'¶
-
-
class
PySpice.Unit.SiUnits.
Weber
(si_unit=None)[source]¶ Bases:
PySpice.Unit.Unit.Unit
-
DEFAULT_UNIT
= True¶
-
QUANTITY
= 'magnetic flux'¶
-
SI_UNIT
= SiDerivedUnit(m^2*kg*s^-2*A^-1)¶
-
UNIT_NAME
= 'weber'¶
-
UNIT_SUFFIX
= 'Wb'¶
-
-
class
PySpice.Unit.SiUnits.
Yocto
[source]¶ Bases:
PySpice.Unit.Unit.UnitPrefix
-
POWER
= -24¶
-
PREFIX
= 'y'¶
-
SPICE_PREFIX
= None¶
-
-
class
PySpice.Unit.SiUnits.
Yotta
[source]¶ Bases:
PySpice.Unit.Unit.UnitPrefix
-
POWER
= 24¶
-
PREFIX
= 'Y'¶
-
SPICE_PREFIX
= None¶
-