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.
__init__(self: samson.SBQuantity.unitsElectronvolt) -> None
Constructs the zero dimensionless unit
__init__(self: samson.SBQuantity.unitsElectronvolt, v: float) -> None
Constructs the dimensionless unit with the given value v
__init__(self: samson.SBQuantity.unitsElectronvolt, value: float, scale: list[int], exponent: list[int]) -> None
Construct the physical unit with value, scale and exponent
__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.
__add__(self: samson.SBQuantity.unitsElectronvolt, arg0: float) -> samson.SBQuantity.unitsElectronvolt
__add__(self: samson.SBQuantity.unitsElectronvolt, arg0: samson.SBQuantity.unitsElectronvolt) -> samson.SBQuantity.unitsElectronvolt
- __eq__(*args, **kwargs)#
Overloaded function.
__eq__(self: samson.SBQuantity.unitsElectronvolt, arg0: float) -> bool
__eq__(self: samson.SBQuantity.unitsElectronvolt, arg0: float) -> bool
__eq__(self: samson.SBQuantity.unitsElectronvolt, arg0: samson.SBQuantity.unitsElectronvolt) -> bool
- __ge__(*args, **kwargs)#
Overloaded function.
__ge__(self: samson.SBQuantity.unitsElectronvolt, arg0: float) -> bool
__ge__(self: samson.SBQuantity.unitsElectronvolt, arg0: float) -> bool
__ge__(self: samson.SBQuantity.unitsElectronvolt, arg0: samson.SBQuantity.unitsElectronvolt) -> bool
- __gt__(*args, **kwargs)#
Overloaded function.
__gt__(self: samson.SBQuantity.unitsElectronvolt, arg0: float) -> bool
__gt__(self: samson.SBQuantity.unitsElectronvolt, arg0: float) -> bool
__gt__(self: samson.SBQuantity.unitsElectronvolt, arg0: samson.SBQuantity.unitsElectronvolt) -> bool
- __iadd__(*args, **kwargs)#
Overloaded function.
__iadd__(self: samson.SBQuantity.unitsElectronvolt, arg0: float) -> samson.SBQuantity.unitsElectronvolt
__iadd__(self: samson.SBQuantity.unitsElectronvolt, arg0: samson.SBQuantity.unitsElectronvolt) -> samson.SBQuantity.unitsElectronvolt
- __imul__(*args, **kwargs)#
Overloaded function.
__imul__(self: samson.SBQuantity.unitsElectronvolt, arg0: float) -> samson.SBQuantity.unitsElectronvolt
__imul__(self: samson.SBQuantity.unitsElectronvolt, arg0: samson.SBQuantity.unitsElectronvolt) -> samson.SBQuantity.unitsElectronvolt
- __isub__(*args, **kwargs)#
Overloaded function.
__isub__(self: samson.SBQuantity.unitsElectronvolt, arg0: float) -> samson.SBQuantity.unitsElectronvolt
__isub__(self: samson.SBQuantity.unitsElectronvolt, arg0: samson.SBQuantity.unitsElectronvolt) -> samson.SBQuantity.unitsElectronvolt
- __itruediv__(*args, **kwargs)#
Overloaded function.
__itruediv__(self: samson.SBQuantity.unitsElectronvolt, arg0: float) -> samson.SBQuantity.unitsElectronvolt
__itruediv__(self: samson.SBQuantity.unitsElectronvolt, arg0: samson.SBQuantity.unitsElectronvolt) -> samson.SBQuantity.unitsElectronvolt
- __le__(*args, **kwargs)#
Overloaded function.
__le__(self: samson.SBQuantity.unitsElectronvolt, arg0: float) -> bool
__le__(self: samson.SBQuantity.unitsElectronvolt, arg0: float) -> bool
__le__(self: samson.SBQuantity.unitsElectronvolt, arg0: samson.SBQuantity.unitsElectronvolt) -> bool
- __lt__(*args, **kwargs)#
Overloaded function.
__lt__(self: samson.SBQuantity.unitsElectronvolt, arg0: float) -> bool
__lt__(self: samson.SBQuantity.unitsElectronvolt, arg0: float) -> bool
__lt__(self: samson.SBQuantity.unitsElectronvolt, arg0: samson.SBQuantity.unitsElectronvolt) -> bool
- __mul__(*args, **kwargs)#
Overloaded function.
__mul__(self: samson.SBQuantity.unitsElectronvolt, arg0: float) -> samson.SBQuantity.unitsElectronvolt
__mul__(self: samson.SBQuantity.unitsElectronvolt, arg0: samson.SBQuantity.unitsElectronvolt) -> samson.SBQuantity.unitsElectronvolt
- __ne__(*args, **kwargs)#
Overloaded function.
__ne__(self: samson.SBQuantity.unitsElectronvolt, arg0: float) -> bool
__ne__(self: samson.SBQuantity.unitsElectronvolt, arg0: float) -> bool
__ne__(self: samson.SBQuantity.unitsElectronvolt, arg0: samson.SBQuantity.unitsElectronvolt) -> bool
- __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.
__sub__(self: samson.SBQuantity.unitsElectronvolt, arg0: float) -> samson.SBQuantity.unitsElectronvolt
__sub__(self: samson.SBQuantity.unitsElectronvolt, arg0: samson.SBQuantity.unitsElectronvolt) -> samson.SBQuantity.unitsElectronvolt
- __truediv__(*args, **kwargs)#
Overloaded function.
__truediv__(self: samson.SBQuantity.unitsElectronvolt, arg0: float) -> samson.SBQuantity.unitsElectronvolt
__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