SPGRSimulator#
- class torchsim.simulators.SPGRSimulator(*args, **kwargs)[source]#
Bases:
SimulatorThe spoiled gradient-echo steady state, read at the echo time.
Spoiling leaves no transverse magnetization to carry over, so the steady state is the Ernst expression [1] in closed form and no state machine is run. Fitting T1 to a set of these at different flip angles is DESPOT1 [2].
References
Examples
from torchsim.simulators import SPGRSimulator sequence = SPGRSimulator(flip=13.0, TR=10.0, TE=5.0) signal = sequence.simulate(T1=1000.0, T2star=30.0)
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.