bssfp_sim#
- blochsim.bssfp_sim()[source]#
Simulate the balanced SSFP steady-state signal.
Balanced steady-state free precession (bSSFP, TrueFISP, FIESTA) with alternating RF phase, evaluated in closed form at the echo time; no state machine is run. The signal depends on the phase accrued across one TR, so
B0andchemshiftproduce the characteristic banding. WrapsbSSFPSimulator.- Parameters:
flip (float or array-like) – Excitation flip angle, in degrees. An array adds a trailing contrast axis.
TE (float or array-like) – Echo time, in ms, measured from the excitation.
TR (float) – Repetition time, in ms.
T1 (float or array-like) – Longitudinal relaxation time, in ms.
T2 (float or array-like) – Transverse relaxation time, in ms.
diff (str or tuple of str, default=None) – Names of the properties to differentiate with respect to.
Nonereturns the signal alone.phase_inc (float, default=180.0) – RF phase increment between successive excitations, in degrees. The default is the alternating phase of the standard balanced sequence.
B0 (float or array-like, default=0.0) – Off-resonance, in Hz.
chemshift (float or array-like, default=0.0) – Chemical shift of the spins, in Hz, added to the off-resonance.
M0 (float or array-like, default=1.0) – Equilibrium magnetization.
device (str or torch.device, default=None) – Device to run on.
Nonefollows the inputs.**values – Any further property or protocol argument of the simulator, such as
B0orB1, passed tosimulate(). Arguments given asNoneare dropped.
- Returns:
signal (complex array-like) – Signal of shape
(..., len(flip)), where...is the broadcast shape of the tissue properties.jacobian (same array type as
signal) – Derivatives of the signal with respect todiff, of shape(..., len(diff), len(flip)). Returned only whendiffis given; a single name omits thelen(diff)axis.