MOLLISimulator

MOLLISimulator#

class blochsim.simulators.MOLLISimulator[source]#

Bases: Simulator

Modified 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 M0 for recovery ms 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*, its TR << T1 limit.

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

bind

Return a copy with further arguments fixed.

describe

Return the SequenceDescription of a protocol.

evaluate

Return the closed-form signal.

from_description

Return a simulator that plays an existing description.

from_pulseq

Return a simulator over one repetition of a Pulseq sequence.

jacobian

Return the signal and its derivative with respect to tissue properties.

layout

Return the operators of one repetition in playing order.

played

Return the protocol arguments of layout(), arrays as torch tensors.

repetition_s

Return the duration of one repetition in seconds.

simulate

Return the recorded signal.

evaluate()[source]#

Return the closed-form signal.