mdpy.unit.Quantity#
- class mdpy.unit.Quantity(value, unit: ~mdpy.unit.unit.Unit = <Unit object: 1.00e+00 >)[source]#
-
Methods
__init__(value[, unit])- param value:
the value of quantity
convert_to(target_unit)convert_to converts
selfto the unit oftarget_unitis_dimension_less()is_dimension_less judges wether
selfis dimensionlesssqrt()sqrt returns square root of Quantity
sum(*keys)Attributes
unitvalue