EventType

This is a Python binding to the C++ class Mantid::API::EventType.

class mantid.api.EventType
TOF = _api.EventType.TOF
WEIGHTED = _api.EventType.WEIGHTED
WEIGHTED_NOTIME = _api.EventType.WEIGHTED_NOTIME
__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 = {'WEIGHTED': _api.EventType.WEIGHTED, 'TOF': _api.EventType.TOF, 'WEIGHTED_NOTIME': _api.EventType.WEIGHTED_NOTIME}
numerator

the numerator of a rational number in lowest terms

real

the real part of a complex number

values = {0: _api.EventType.TOF, 1: _api.EventType.WEIGHTED, 2: _api.EventType.WEIGHTED_NOTIME}