mr2.operators.models.BMC

Bloch-McConnell simulation.

Functions

apply_propagation_step(state, step)

Apply a precomputed exact affine propagation step to a state.

exchange_generator(exchange_rate)

Construct exchange generator (Q) for (dM/dt = Q M).

gradient_to_extra_off_resonance(gradient_z, ...)

Convert gradients and isochromat positions to extra off-resonance in rad/s.

initial_state(parameters[, mz])

Create an initial magnetization state.

propagate(state, matrix, c, duration)

Propagate dynamics (dm/dt = A m + c) via exact affine evolution.

propagation_step(matrix, c, duration)

Build exact affine propagation steps for constant-system evolution.

system_base_matrix(parameters, rf_frequency)

Build the RF-amplitude independent Bloch-McConnell matrix.

system_matrix(parameters, rf_amplitude, ...)

Build affine Bloch-McConnell system (dm/dt = A m + c).

system_recovery_vector(parameters)

Build the affine recovery vector.

system_rf_matrix(parameters, rf_amplitude, ...)

Build the RF-amplitude dependent Bloch-McConnell matrix contribution.

transverse_readout(state)

Complex transverse readout per pool, averaged over isochromats.

Classes

AcquisitionBlock

Acquisition block that emits a readout.

BMCBlock

Base class for Bloch-McConnell blocks.

BMCSequence

Sequence of Bloch-McConnell blocks.

ConstantRFBlock

Constant RF block for a duration.

DelayBlock

Delay without RF.

GradientBlock

Gradient-only block with position-dependent phase accrual.

LongitudinalReadoutBlock

Read out longitudinal magnetization of a selected pool.

LorentzianMT

Lorentzian lineshape for MT saturation.

MTSaturation

Base class for MT lineshape models.

Parameters

Parameters for Bloch-McConnell simulation.

PiecewiseRFBlock

Piecewise-constant RF block.

ResetBlock

Reset state to equilibrium or to a provided state.

SliceSelectiveRFBlock

Piecewise RF block with an effective image-space slice profile.

SpoilBlock

Perfect spoiling with non-zero duration.

SuperLorentzianMT

Super-Lorentzian lineshape for MT saturation.