DeltaEModeType
This a python binding to the C++ class Mantid::Kernel::DeltaEMode.
-
class mantid.kernel.DeltaEModeType
-
Direct = mantid.kernel._kernel.DeltaEModeType.Direct
-
Elastic = mantid.kernel._kernel.DeltaEModeType.Elastic
-
Indirect = mantid.kernel._kernel.DeltaEModeType.Indirect
-
__init__
x.__init__(...) initializes x; see help(type(x)) for signature
-
bit_length() → int
Number of bits necessary to represent self in binary.
>>> bin(37)
‘0b100101’
>>> (37).bit_length()
6
-
conjugate()
Returns self, the complex conjugate of any int.
-
denominator
the denominator of a rational number in lowest terms
-
imag
the imaginary part of a complex number
-
name
-
names = {'Indirect': mantid.kernel._kernel.DeltaEModeType.Indirect, 'Direct': mantid.kernel._kernel.DeltaEModeType.Direct, 'Elastic': mantid.kernel._kernel.DeltaEModeType.Elastic}
-
numerator
the numerator of a rational number in lowest terms
-
real
the real part of a complex number
-
values = {0: mantid.kernel._kernel.DeltaEModeType.Elastic, 1: mantid.kernel._kernel.DeltaEModeType.Direct, 2: mantid.kernel._kernel.DeltaEModeType.Indirect}