MOLLISimulator#
- class blochsim.simulators.MOLLISimulator[source]#
Bases:
SimulatorModified Look-Locker inversion recovery (MOLLI): readout blocks separated by free recovery.
MOLLI [1] reads the recovery after one inversion in blocks of Look-Locker readouts. The first block starts from the inversion; between blocks the pulses stop, and the longitudinal magnetization left by a block’s last readout recovers towards
M0forrecoveryms before the next block starts from it. The signal is real, the blocks concatenated along the last axis.- Parameters:
flip (float or array-like) – Flip angle of the readout pulses, in degrees.
TR (float or array-like) – Spacing of the readout pulses, in ms.
readouts (sequence of int) – Readouts in each block.
recovery (float or array-like) – Free recovery between blocks, in ms.
short_TR (bool, default=False) – Take the steady state as
M0 R1 / R1*, itsTR << T1limit.
- Tissue properties:
T1 (float or array-like) – Longitudinal relaxation time, in ms.
M0 (float or array-like, default=1.0) – Equilibrium magnetization.
B1 (float or array-like, default=1.0) – Transmit field, as a fraction of the nominal flip angle.
inv_efficiency (float or array-like, default=1.0) – Fraction of a perfect inversion.
References
Examples
from blochsim.simulators import MOLLISimulator sequence = MOLLISimulator(flip=35.0, TR=2.5, readouts=(40, 40, 40), recovery=800.0) signal = sequence.simulate(T1=(800.0, 1400.0)) print(signal.shape)
torch.Size([2, 120])
Methods
bindReturn a copy with further arguments fixed.
describeReturn the
SequenceDescriptionof a protocol.Return the closed-form signal.
from_descriptionReturn a simulator that plays an existing description.
from_pulseqReturn a simulator over one repetition of a Pulseq sequence.
jacobianReturn the signal and its derivative with respect to tissue properties.
layoutReturn the operators of one repetition in playing order.
playedReturn the protocol arguments of
layout(), arrays as torch tensors.repetition_sReturn the duration of one repetition in seconds.
simulateReturn the recorded signal.