unitsElectronvolt#

This is the base class for the Electronvolt Unit.

class samson.SBQuantity.unitsElectronvolt(*args, **kwargs)#

Bases: pybind11_object

Units system, serves as a wrapper between SBQuantity and Python

Overloaded function.

  1. __init__(self: samson.SBQuantity.unitsElectronvolt) -> None

Constructs the zero dimensionless unit

  1. __init__(self: samson.SBQuantity.unitsElectronvolt, v: float) -> None

Constructs the dimensionless unit with the given value v

  1. __init__(self: samson.SBQuantity.unitsElectronvolt, value: float, scale: list[int], exponent: list[int]) -> None

Construct the physical unit with value, scale and exponent

  1. __init__(self: samson.SBQuantity.unitsElectronvolt, u: samson.SBQuantity.unitsElectronvolt) -> None

Constructs the physical unit from the given physical unit u

__add__(*args, **kwargs)#

Overloaded function.

  1. __add__(self: samson.SBQuantity.unitsElectronvolt, arg0: float) -> samson.SBQuantity.unitsElectronvolt

  2. __add__(self: samson.SBQuantity.unitsElectronvolt, arg0: samson.SBQuantity.unitsElectronvolt) -> samson.SBQuantity.unitsElectronvolt

__eq__(*args, **kwargs)#

Overloaded function.

  1. __eq__(self: samson.SBQuantity.unitsElectronvolt, arg0: float) -> bool

  2. __eq__(self: samson.SBQuantity.unitsElectronvolt, arg0: float) -> bool

  3. __eq__(self: samson.SBQuantity.unitsElectronvolt, arg0: samson.SBQuantity.unitsElectronvolt) -> bool

__ge__(*args, **kwargs)#

Overloaded function.

  1. __ge__(self: samson.SBQuantity.unitsElectronvolt, arg0: float) -> bool

  2. __ge__(self: samson.SBQuantity.unitsElectronvolt, arg0: float) -> bool

  3. __ge__(self: samson.SBQuantity.unitsElectronvolt, arg0: samson.SBQuantity.unitsElectronvolt) -> bool

__gt__(*args, **kwargs)#

Overloaded function.

  1. __gt__(self: samson.SBQuantity.unitsElectronvolt, arg0: float) -> bool

  2. __gt__(self: samson.SBQuantity.unitsElectronvolt, arg0: float) -> bool

  3. __gt__(self: samson.SBQuantity.unitsElectronvolt, arg0: samson.SBQuantity.unitsElectronvolt) -> bool

__iadd__(*args, **kwargs)#

Overloaded function.

  1. __iadd__(self: samson.SBQuantity.unitsElectronvolt, arg0: float) -> samson.SBQuantity.unitsElectronvolt

  2. __iadd__(self: samson.SBQuantity.unitsElectronvolt, arg0: samson.SBQuantity.unitsElectronvolt) -> samson.SBQuantity.unitsElectronvolt

__imul__(*args, **kwargs)#

Overloaded function.

  1. __imul__(self: samson.SBQuantity.unitsElectronvolt, arg0: float) -> samson.SBQuantity.unitsElectronvolt

  2. __imul__(self: samson.SBQuantity.unitsElectronvolt, arg0: samson.SBQuantity.unitsElectronvolt) -> samson.SBQuantity.unitsElectronvolt

__isub__(*args, **kwargs)#

Overloaded function.

  1. __isub__(self: samson.SBQuantity.unitsElectronvolt, arg0: float) -> samson.SBQuantity.unitsElectronvolt

  2. __isub__(self: samson.SBQuantity.unitsElectronvolt, arg0: samson.SBQuantity.unitsElectronvolt) -> samson.SBQuantity.unitsElectronvolt

__itruediv__(*args, **kwargs)#

Overloaded function.

  1. __itruediv__(self: samson.SBQuantity.unitsElectronvolt, arg0: float) -> samson.SBQuantity.unitsElectronvolt

  2. __itruediv__(self: samson.SBQuantity.unitsElectronvolt, arg0: samson.SBQuantity.unitsElectronvolt) -> samson.SBQuantity.unitsElectronvolt

__le__(*args, **kwargs)#

Overloaded function.

  1. __le__(self: samson.SBQuantity.unitsElectronvolt, arg0: float) -> bool

  2. __le__(self: samson.SBQuantity.unitsElectronvolt, arg0: float) -> bool

  3. __le__(self: samson.SBQuantity.unitsElectronvolt, arg0: samson.SBQuantity.unitsElectronvolt) -> bool

__lt__(*args, **kwargs)#

Overloaded function.

  1. __lt__(self: samson.SBQuantity.unitsElectronvolt, arg0: float) -> bool

  2. __lt__(self: samson.SBQuantity.unitsElectronvolt, arg0: float) -> bool

  3. __lt__(self: samson.SBQuantity.unitsElectronvolt, arg0: samson.SBQuantity.unitsElectronvolt) -> bool

__mul__(*args, **kwargs)#

Overloaded function.

  1. __mul__(self: samson.SBQuantity.unitsElectronvolt, arg0: float) -> samson.SBQuantity.unitsElectronvolt

  2. __mul__(self: samson.SBQuantity.unitsElectronvolt, arg0: samson.SBQuantity.unitsElectronvolt) -> samson.SBQuantity.unitsElectronvolt

__ne__(*args, **kwargs)#

Overloaded function.

  1. __ne__(self: samson.SBQuantity.unitsElectronvolt, arg0: float) -> bool

  2. __ne__(self: samson.SBQuantity.unitsElectronvolt, arg0: float) -> bool

  3. __ne__(self: samson.SBQuantity.unitsElectronvolt, arg0: samson.SBQuantity.unitsElectronvolt) -> bool

__neg__(self: samson.SBQuantity.unitsElectronvolt) samson.SBQuantity.unitsElectronvolt#
__radd__(self: samson.SBQuantity.unitsElectronvolt, arg0: float) samson.SBQuantity.unitsElectronvolt#
__rmul__(self: samson.SBQuantity.unitsElectronvolt, arg0: float) samson.SBQuantity.unitsElectronvolt#
__rsub__(self: samson.SBQuantity.unitsElectronvolt, arg0: float) samson.SBQuantity.unitsElectronvolt#
__rtruediv__(self: samson.SBQuantity.unitsElectronvolt, arg0: float) samson.SBQuantity.unitsElectronvolt#
__sub__(*args, **kwargs)#

Overloaded function.

  1. __sub__(self: samson.SBQuantity.unitsElectronvolt, arg0: float) -> samson.SBQuantity.unitsElectronvolt

  2. __sub__(self: samson.SBQuantity.unitsElectronvolt, arg0: samson.SBQuantity.unitsElectronvolt) -> samson.SBQuantity.unitsElectronvolt

__truediv__(*args, **kwargs)#

Overloaded function.

  1. __truediv__(self: samson.SBQuantity.unitsElectronvolt, arg0: float) -> samson.SBQuantity.unitsElectronvolt

  2. __truediv__(self: samson.SBQuantity.unitsElectronvolt, arg0: samson.SBQuantity.unitsElectronvolt) -> samson.SBQuantity.unitsElectronvolt

static fromLinearInterpolation(q0: samson.SBQuantity.unitsElectronvolt, q1: samson.SBQuantity.unitsElectronvolt, alpha: float) samson.SBQuantity.unitsElectronvolt#

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.SBQuantity.unitsElectronvolt) None#

Sets the value to zero

str(self: samson.SBQuantity.unitsElectronvolt, fullName: bool = False) str#

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

toDebugString(self: samson.SBQuantity.unitsElectronvolt) str#
property Eh#

convert to hartree

property J#

convert to joule

property JPerMol#

convert to joulePerMole

property hartree#

convert to hartree

property isDimensionless#

Returns True if the unit is dimensionless

property joule#

convert to joule

property joulePerMole#

convert to joulePerMole

property kJ#

convert to kilojoule

property kcalPerMol#

convert to kilocaloriePerMole

property kilocaloriePerMole#

convert to kilocaloriePerMole

property kilojoule#

convert to kilojoule

property sizeOfUnitSystem#
property value#

Returns value of the unit

property zJ#

convert to zeptojoule

property zeptojoule#

convert to zeptojoule