ACQ#
- class snake.mrd_utils.utils.ACQ(value)[source]#
Bases:
IntFlag
Acquisition flags of MRD as an IntFlags.
Methods
conjugate
Returns self, the complex conjugate of any int.
bit_length
Number of bits necessary to represent self in binary.
bit_count
Number of ones in the binary representation of the absolute value of self.
to_bytes
Return an array of bytes representing an integer.
from_bytes
Return the integer represented by the given array of bytes.
as_integer_ratio
Return integer ratio.
Attributes
real
the real part of a complex number
imag
the imaginary part of a complex number
numerator
the numerator of a rational number in lowest terms
denominator
the denominator of a rational number in lowest terms
FIRST_IN_ENCODE_STEP1
LAST_IN_ENCODE_STEP1
FIRST_IN_ENCODE_STEP2
LAST_IN_ENCODE_STEP2
FIRST_IN_AVERAGE
LAST_IN_AVERAGE
FIRST_IN_SLICE
LAST_IN_SLICE
FIRST_IN_CONTRAST
LAST_IN_CONTRAST
FIRST_IN_PHASE
LAST_IN_PHASE
FIRST_IN_REPETITION
LAST_IN_REPETITION
FIRST_IN_SET
LAST_IN_SET
FIRST_IN_SEGMENT
LAST_IN_SEGMENT
IS_NOISE_MEASUREMENT
IS_PARALLEL_CALIBRATION
IS_PARALLEL_CALIBRATION_AND_IMAGING
IS_REVERSE
IS_NAVIGATION_DATA
IS_PHASECORR_DATA
LAST_IN_MEASUREMENT
IS_HPFEEDBACK_DATA
IS_DUMMYSCAN_DATA
IS_RTFEEDBACK_DATA
IS_SURFACECOILCORRECTIONSCAN_DATA
IS_PHASE_STABILIZATION_REFERENCE
IS_PHASE_STABILIZATION
COMPRESSION1
COMPRESSION2
COMPRESSION3
COMPRESSION4
USER1
USER2
USER3
USER4
USER5
USER6
USER7
USER8
- _generate_next_value_(start, count, last_values)#
Generate the next value when not given.
name: the name of the member start: the initial start value or None count: the number of existing members last_value: the last value assigned or None