AcquisitionFlag#
- class pulserver.mrd.AcquisitionFlag[source]#
Bases:
FlagISMRMRD acquisition flags as bit masks, combinable with
|.Members are named as the
ismrmrd.ACQ_*constants without the prefix. Values are masks, whereas theismrmrdconstants are 1-based bit positions;positionandflaggive those back. The class does not importismrmrd.Examples
>>> import pulserver.mrd as mrd >>> mrd.AcquisitionFlag.LAST_IN_SLICE.position 8 >>> mrd.AcquisitionFlag.IS_NOISE_MEASUREMENT.flag 'ACQ_IS_NOISE_MEASUREMENT' >>> either = mrd.AcquisitionFlag.LAST_IN_SEGMENT | mrd.AcquisitionFlag.LAST_IN_SLICE >>> mrd.AcquisitionFlag.LAST_IN_SLICE in either True
- FIRST_IN_ENCODE_STEP1 = 1#
- LAST_IN_ENCODE_STEP1 = 2#
- FIRST_IN_ENCODE_STEP2 = 4#
- LAST_IN_ENCODE_STEP2 = 8#
- FIRST_IN_AVERAGE = 16#
- LAST_IN_AVERAGE = 32#
- FIRST_IN_SLICE = 64#
- LAST_IN_SLICE = 128#
- FIRST_IN_CONTRAST = 256#
- LAST_IN_CONTRAST = 512#
- FIRST_IN_PHASE = 1024#
- LAST_IN_PHASE = 2048#
- FIRST_IN_REPETITION = 4096#
- LAST_IN_REPETITION = 8192#
- FIRST_IN_SET = 16384#
- LAST_IN_SET = 32768#
- FIRST_IN_SEGMENT = 65536#
- LAST_IN_SEGMENT = 131072#
- IS_NOISE_MEASUREMENT = 262144#
- IS_PARALLEL_CALIBRATION = 524288#
- IS_PARALLEL_CALIBRATION_AND_IMAGING = 1048576#
- IS_REVERSE = 2097152#
- IS_NAVIGATION_DATA = 4194304#
- IS_PHASECORR_DATA = 8388608#
- LAST_IN_MEASUREMENT = 16777216#
- IS_HPFEEDBACK_DATA = 33554432#
- IS_DUMMYSCAN_DATA = 67108864#
- IS_RTFEEDBACK_DATA = 134217728#
- IS_SURFACECOILCORRECTIONSCAN_DATA = 268435456#
- IS_PHASE_STABILIZATION_REFERENCE = 536870912#
- IS_PHASE_STABILIZATION = 1073741824#
- COMPRESSION1 = 4503599627370496#
- COMPRESSION2 = 9007199254740992#
- COMPRESSION3 = 18014398509481984#
- COMPRESSION4 = 36028797018963968#
- USER1 = 72057594037927936#
- USER2 = 144115188075855872#
- USER3 = 288230376151711744#
- USER4 = 576460752303423488#
- USER5 = 1152921504606846976#
- USER6 = 2305843009213693952#
- USER7 = 4611686018427387904#
- USER8 = 9223372036854775808#
- property flag#
The
ismrmrdconstant name of a single flag.
- property position#
The 1-based bit position of a single flag, as
ismrmrdnumbers it.