unitsSI

class samson.DataModel.Quantity.unitsSI(*args, **kwargs)

Bases: pybind11_builtins.pybind11_object

Units system, serves as a wrapper between SBQuantity and Python

Overloaded function.

  1. __init__(self: samson.DataModel.Quantity.unitsSI) -> None

Constructs the zero dimensionless unit

  1. __init__(self: samson.DataModel.Quantity.unitsSI, v: float) -> None

Constructs the dimensionless unit with a given value v

  1. __init__(self: samson.DataModel.Quantity.unitsSI, value: float, scale: List[int], exponent: List[int]) -> None

Construct the physical unit with value, scale and exponent

  1. __init__(self: samson.DataModel.Quantity.unitsSI, u: samson.DataModel.Quantity.unitsSI) -> None

Constructs the physical unit from a given physical unit u

__add__(*args, **kwargs)

Overloaded function.

  1. __add__(self: samson.DataModel.Quantity.unitsSI, arg0: float) -> samson.DataModel.Quantity.unitsSI

  2. __add__(self: samson.DataModel.Quantity.unitsSI, arg0: samson.DataModel.Quantity.unitsSI) -> samson.DataModel.Quantity.unitsSI

__eq__(*args, **kwargs)

Overloaded function.

  1. __eq__(self: samson.DataModel.Quantity.unitsSI, arg0: float) -> bool

  2. __eq__(self: samson.DataModel.Quantity.unitsSI, arg0: float) -> bool

  3. __eq__(self: samson.DataModel.Quantity.unitsSI, arg0: samson.DataModel.Quantity.unitsSI) -> bool

__ge__(*args, **kwargs)

Overloaded function.

  1. __ge__(self: samson.DataModel.Quantity.unitsSI, arg0: float) -> bool

  2. __ge__(self: samson.DataModel.Quantity.unitsSI, arg0: float) -> bool

  3. __ge__(self: samson.DataModel.Quantity.unitsSI, arg0: samson.DataModel.Quantity.unitsSI) -> bool

__gt__(*args, **kwargs)

Overloaded function.

  1. __gt__(self: samson.DataModel.Quantity.unitsSI, arg0: float) -> bool

  2. __gt__(self: samson.DataModel.Quantity.unitsSI, arg0: float) -> bool

  3. __gt__(self: samson.DataModel.Quantity.unitsSI, arg0: samson.DataModel.Quantity.unitsSI) -> bool

__iadd__(*args, **kwargs)

Overloaded function.

  1. __iadd__(self: samson.DataModel.Quantity.unitsSI, arg0: float) -> samson.DataModel.Quantity.unitsSI

  2. __iadd__(self: samson.DataModel.Quantity.unitsSI, arg0: samson.DataModel.Quantity.unitsSI) -> samson.DataModel.Quantity.unitsSI

__imul__(*args, **kwargs)

Overloaded function.

  1. __imul__(self: samson.DataModel.Quantity.unitsSI, arg0: float) -> samson.DataModel.Quantity.unitsSI

  2. __imul__(self: samson.DataModel.Quantity.unitsSI, arg0: samson.DataModel.Quantity.unitsSI) -> samson.DataModel.Quantity.unitsSI

__isub__(*args, **kwargs)

Overloaded function.

  1. __isub__(self: samson.DataModel.Quantity.unitsSI, arg0: float) -> samson.DataModel.Quantity.unitsSI

  2. __isub__(self: samson.DataModel.Quantity.unitsSI, arg0: samson.DataModel.Quantity.unitsSI) -> samson.DataModel.Quantity.unitsSI

__itruediv__(*args, **kwargs)

Overloaded function.

  1. __itruediv__(self: samson.DataModel.Quantity.unitsSI, arg0: float) -> samson.DataModel.Quantity.unitsSI

  2. __itruediv__(self: samson.DataModel.Quantity.unitsSI, arg0: samson.DataModel.Quantity.unitsSI) -> samson.DataModel.Quantity.unitsSI

__le__(*args, **kwargs)

Overloaded function.

  1. __le__(self: samson.DataModel.Quantity.unitsSI, arg0: float) -> bool

  2. __le__(self: samson.DataModel.Quantity.unitsSI, arg0: float) -> bool

  3. __le__(self: samson.DataModel.Quantity.unitsSI, arg0: samson.DataModel.Quantity.unitsSI) -> bool

__lt__(*args, **kwargs)

Overloaded function.

  1. __lt__(self: samson.DataModel.Quantity.unitsSI, arg0: float) -> bool

  2. __lt__(self: samson.DataModel.Quantity.unitsSI, arg0: float) -> bool

  3. __lt__(self: samson.DataModel.Quantity.unitsSI, arg0: samson.DataModel.Quantity.unitsSI) -> bool

__mul__(*args, **kwargs)

Overloaded function.

  1. __mul__(self: samson.DataModel.Quantity.unitsSI, arg0: float) -> samson.DataModel.Quantity.unitsSI

  2. __mul__(self: samson.DataModel.Quantity.unitsSI, arg0: samson.DataModel.Quantity.unitsSI) -> samson.DataModel.Quantity.unitsSI

__ne__(*args, **kwargs)

Overloaded function.

  1. __ne__(self: samson.DataModel.Quantity.unitsSI, arg0: float) -> bool

  2. __ne__(self: samson.DataModel.Quantity.unitsSI, arg0: float) -> bool

  3. __ne__(self: samson.DataModel.Quantity.unitsSI, arg0: samson.DataModel.Quantity.unitsSI) -> bool

__neg__(self: samson.DataModel.Quantity.unitsSI) samson.DataModel.Quantity.unitsSI
__radd__(self: samson.DataModel.Quantity.unitsSI, arg0: float) samson.DataModel.Quantity.unitsSI
__rmul__(self: samson.DataModel.Quantity.unitsSI, arg0: float) samson.DataModel.Quantity.unitsSI
__rsub__(self: samson.DataModel.Quantity.unitsSI, arg0: float) samson.DataModel.Quantity.unitsSI
__rtruediv__(self: samson.DataModel.Quantity.unitsSI, arg0: float) samson.DataModel.Quantity.unitsSI
__sub__(*args, **kwargs)

Overloaded function.

  1. __sub__(self: samson.DataModel.Quantity.unitsSI, arg0: float) -> samson.DataModel.Quantity.unitsSI

  2. __sub__(self: samson.DataModel.Quantity.unitsSI, arg0: samson.DataModel.Quantity.unitsSI) -> samson.DataModel.Quantity.unitsSI

__truediv__(*args, **kwargs)

Overloaded function.

  1. __truediv__(self: samson.DataModel.Quantity.unitsSI, arg0: float) -> samson.DataModel.Quantity.unitsSI

  2. __truediv__(self: samson.DataModel.Quantity.unitsSI, arg0: samson.DataModel.Quantity.unitsSI) -> samson.DataModel.Quantity.unitsSI

static fromLinearInterpolation(q0: samson.DataModel.Quantity.unitsSI, q1: samson.DataModel.Quantity.unitsSI, alpha: float) samson.DataModel.Quantity.unitsSI

Returns a linear interpolation between two physical quantities q0 and q1 for a parameter alpha in the closed unit interval [0, 1].

setZero(self: samson.DataModel.Quantity.unitsSI) None

Sets the value to zero

toDebugString(self: samson.DataModel.Quantity.unitsSI) str
toString(self: samson.DataModel.Quantity.unitsSI, fullName: bool = False) str

Converts the physical quantity to a string (with a full unit name when fullName is true)

property A

value in ampere

property Da

convert to dalton

property Eh

convert to hartree

property GHz

value in gigahertz

property Hz

value in hertz

property J

convert to joule

property JPerMol

convert to joulePerMole

property JPerMolToEh

convert to hartree

property JPerMolToeV

convert to electronvolt

property JperMolTokcalPerMol

convert to kilocaloriePerMole

property K

value in kelvin

property KHz

value in kilohertz

property MHz

value in megahertz

property N

value in newton

property a0

convert to a0

property aA

value in attoampere

property aK

value in attokelvin

property acd

value in attocandela

property ag

value in attogram

property am

value in attometer

property amol

value in attomole

property ampere

value in ampere

property angstrom

value in angstrom

property as

value in attosecond

property attoampere

value in attoampere

property attocandela

value in attocandela

property attogram

value in attogram

property attokelvin

value in attokelvin

property attometer

value in attometer

property attomole

value in attomole

property attosecond

value in attosecond

property auCharge

convert to auCharge

property auMass

convert to auMass

property auTime

convert to auTime

property bohr

convert to bohr

property cA

value in centiampere

property cK

value in centikelvin

property candela

value in candela

property ccd

value in centicandela

property cd

value in candela

property centiampere

value in centiampere

property centicandela

value in centicandela

property centigram

value in centigram

property centikelvin

value in centikelvin

property centimeter

value in centimeter

property centimole

value in centimole

property centisecond

value in centisecond

property cg

value in centigram

property cm

value in centimeter

property cmol

value in centimole

property cs

value in centisecond

property dA

value in deciampere

property dK

value in decikelvin

property daA

value in decaampere

property daK

value in decakelvin

property dacd

value in decacandela

property dag

value in decagram

property dalton

convert to dalton

property dam

value in decameter

property damol

value in decamole

property dcd

value in decicandela

property decaampere

value in decaampere

property decacandela

value in decacandela

property decagram

value in decagram

property decakelvin

value in decakelvin

property decameter

value in decameter

property decamole

value in decamole

property deciampere

value in deciampere

property decicandela

value in decicandela

property decigram

value in decigram

property decikelvin

value in decikelvin

property decimeter

value in decimeter

property decimole

value in decimole

property decisecond

value in decisecond

property dg

value in decigram

property dm

value in decimeter

property dmol

value in decimole

property ds

value in decisecond

property eV

convert to electronvolt

property electronCharge

convert to electronCharge

property electronMass

convert to electronMass

property electronvolt

convert to electronvolt

property fA

value in femtoampere

property fK

value in femtokelvin

property fcd

value in femtocandela

property femtoampere

value in femtoampere

property femtocandela

value in femtocandela

property femtogram

value in femtogram

property femtokelvin

value in femtokelvin

property femtometer

value in femtometer

property femtomole

value in femtomole

property femtosecond

value in femtosecond

property fg

value in femtogram

property fm

value in femtometer

property fmol

value in femtomole

property fs

value in femtosecond

property g

value in gram

property gigahertz

value in gigahertz

property gram

value in gram

property hA

value in hectoampere

property hK

value in hectokelvin

property hartree

convert to hartree

property hcd

value in hectocandela

property hectoampere

value in hectoampere

property hectocandela

value in hectocandela

property hectogram

value in hectogram

property hectokelvin

value in hectokelvin

property hectometer

value in hectometer

property hectomole

value in hectomole

property hertz

value in hertz

property hg

value in hectogram

property hm

value in hectometer

property hmol

value in hectomole

property isDimensionless

Returns true if the unit is dimensionless

property joule

convert to joule

property joulePerMole

convert to joulePerMole

property joulePerMoleToElectronvolt

convert to electronvolt

property joulePerMoleToHartree

convert to hartree

property joulePerMoleToKilocaloriePerMole

convert to kilocaloriePerMole

property kA

value in kiloampere

property kJ

value in kilojoule

property kK

value in kilokelvin

property kcalPerMol

convert to kilocaloriePerMole

property kcd

value in kilocandela

property kelvin

value in kelvin

property kg

value in kilogram

property kiloampere

value in kiloampere

property kilocaloriePerMole

convert to kilocaloriePerMole

property kilocandela

value in kilocandela

property kilogram

value in kilogram

property kilohertz

value in kilohertz

property kilojoule

value in kilojoule

property kilokelvin

value in kilokelvin

property kilometer

value in kilometer

property kilomole

value in kilomole

property km

value in kilometer

property kmol

value in kilomole

property m

value in meter

property mA

value in milliampere

property mK

value in millikelvin

property mcd

value in millicandela

property megahertz

value in megahertz

property meter

value in meter

property mg

value in milligram

property microampere

value in microampere

property microcandela

value in microcandela

property microgram

value in microgram

property microkelvin

value in microkelvin

property micrometer

value in micrometer

property micromole

value in micromole

property microsecond

value in microsecond

property milliampere

value in milliampere

property millicandela

value in millicandela

property milligram

value in milligram

property millikelvin

value in millikelvin

property millimeter

value in millimeter

property millimole

value in millimole

property millisecond

value in millisecond

property mm

value in millimeter

property mmol

value in millimole

property mol

value in mole

property mole

value in mole

property ms

value in millisecond

property nA

value in nanoampere

property nK

value in nanokelvin

property nN

value in nanonewton

property nanoampere

value in nanoampere

property nanocandela

value in nanocandela

property nanogram

value in nanogram

property nanokelvin

value in nanokelvin

property nanometer

value in nanometer

property nanomole

value in nanomole

property nanonewton

value in nanonewton

property nanosecond

value in nanosecond

property ncd

value in nanocandela

property newton

value in newton

property ng

value in nanogram

property nm

value in nanometer

property nmol

value in nanomole

property ns

value in nanosecond

property pA

value in picoampere

property pK

value in picokelvin

property pN

value in piconewton

property pcd

value in picocandela

property pg

value in picogram

property picoampere

value in picoampere

property picocandela

value in picocandela

property picogram

value in picogram

property picokelvin

value in picokelvin

property picometer

value in picometer

property picomole

value in picomole

property piconewton

value in piconewton

property picosecond

value in picosecond

property pm

value in picometer

property pmol

value in picomole

property ps

value in picosecond

property s

value in second

property second

value in second

property sizeOfUnitSystem
property uA

value in microampere

property uK

value in microkelvin

property ucd

value in microcandela

property ug

value in microgram

property um

value in micrometer

property umol

value in micromole

property us

value in microsecond

property value

Returns value of the unit

property yA

value in yoctoampere

property yK

value in yoctokelvin

property ycd

value in yoctocandela

property yg

value in yoctogram

property ym

value in yoctometer

property ymol

value in yoctomole

property yoctoampere

value in yoctoampere

property yoctocandela

value in yoctocandela

property yoctogram

value in yoctogram

property yoctokelvin

value in yoctokelvin

property yoctometer

value in yoctometer

property yoctomole

value in yoctomole

property yoctosecond

value in yoctosecond

property ys

value in yoctosecond

property zA

value in zeptoampere

property zJ

value in zeptojoule

property zK

value in zeptokelvin

property zcd

value in zeptocandela

property zeptoampere

value in zeptoampere

property zeptocandela

value in zeptocandela

property zeptogram

value in zeptogram

property zeptojoule

value in zeptojoule

property zeptokelvin

value in zeptokelvin

property zeptometer

value in zeptometer

property zeptomole

value in zeptomole

property zeptosecond

value in zeptosecond

property zg

value in zeptogram

property zm

value in zeptometer

property zmol

value in zeptomole

property zs

value in zeptosecond