LookLockerSimulator#
- class blochsim.simulators.LookLockerSimulator[source]#
Bases:
SimulatorLook-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, timessin a. The signal is real, one sample perTI.- 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*, itsTR << T1limit.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
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.