LookLockerSimulator#
- class torchsim.simulators.LookLockerSimulator(*args, **kwargs)[source]#
Bases:
SimulatorRecovery from an inversion under a spoiled train of small flip angles.
Each pulse tips a little of the longitudinal magnetization away, so the recovery runs towards a steady state below equilibrium at the apparent rate
R1* = R1 - ln(cos a) / TR[1], and each readout records the longitudinal magnetization just ahead of its pulse, timessin a. Reading the recovery at a set of times after the inversion gives T1, the flip angle’s efficiencyB1and the proton density together.References
Examples
import torch from torchsim.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
bindThis simulator with more fixed on it, values or settings alike.
describeReturn the description this protocol plays.
Evaluate the closed form, no state machine and no description.
from_descriptionReturn a simulator over a stream someone else assembled.
from_pulseqReturn a simulator over one repetition of a Pulseq sequence.
jacobianReturn the signal and its derivative with respect to
diff.layoutReturn the operators of one repetition, in the order they play.
playedReturn the protocol as it will be laid out.
repetition_sReturn how long one repetition lasts, given what the layout played.
simulateReturn the recorded signal.