LookLockerSimulator#

class blochsim.simulators.LookLockerSimulator[source]#

Bases: Simulator

Look-Locker inversion recovery under a spoiled train of small flip angles.

The longitudinal magnetization recovers towards a steady state below equilibrium at the apparent rate R1* = R1 - ln(cos a) / TR [1]. Each readout records the longitudinal magnetization just before its pulse, times sin a. The signal is real, one sample per TI.

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.

  • TI (float or array-like) – Time of each readout after the inversion, in ms.

  • short_TR (bool, default=False) – Take the steady state as M0 R1 / R1*, its TR << T1 limit.

  • from_steady_state (bool, default=False) – Invert the steady state rather than the equilibrium magnetization.

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

import torch
from blochsim.simulators import LookLockerSimulator

sequence = LookLockerSimulator(flip=6.0, TR=4.0, TI=4.0 * torch.arange(500))
signal = sequence.simulate(T1=(800.0, 1400.0))
print(signal.shape)
torch.Size([2, 500])

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.