\(\renewcommand\AA{\unicode{x212B}}\)

UnitConversion

This is a Python binding to the C++ class Mantid::Kernel::UnitConversion.

class mantid.kernel.UnitConversion
static run((str)src, (str)dest, (float)srcValue, (float)l1, (float)l2, (float)theta, (DeltaEModeType)emode, (float)efixed) float :

Performs a unit conversion on a single value (deprecated).

run( (str)src, (str)dest, (float)srcValue, (float)l1, (DeltaEModeType)emode, (UnitParametersMap)params) -> float :

Performs a unit conversion on a single value.