IRbSSFPSimulator#
- class blochsim.simulators.IRbSSFPSimulator[source]#
Bases:
SimulatorInversion-recovery balanced SSFP (IR-TrueFISP) signal, in closed form.
After an alpha/2 preparation the magnetization approaches the bSSFP steady state along one exponential, at a rate mixing R1 and R2 by the flip angle [1].
inv_efficiencyscales the magnetization the recovery starts from. The signal is real, one sample perTI.- Parameters:
- Tissue properties:
T1, T2 (float or array-like) – Relaxation times, 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 IRbSSFPSimulator sequence = IRbSSFPSimulator(flip=45.0, TI=4.5 * torch.arange(1000)) signal = sequence.simulate(T1=1000.0, T2=(50.0, 100.0)) print(signal.shape)
torch.Size([2, 1000])
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.