sigpy-rf-tutorials
sigpy-rf-tutorials copied to clipboard
module 'sigpy.mri' has no attribute 'bloch_forward'
Hi there. When running the SLR Pulse Design notebook, there is an issue. Executing:
mFinal = mr.bloch_forward(mInit, pulse, f0, t1, t2, dt)
results in:
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
<ipython-input-28-0afecd5d51ed> in <module>
5 t2 = np.full(Nfreqs, np.infty)
6 dt = 1
----> 7 mFinal = mr.bloch_forward(mInit, pulse, f0, t1, t2, dt)
8 pl.LinePlot(mFinal[:,0]+1j*mFinal[:,1],mode='m')
AttributeError: module 'sigpy.mri' has no attribute 'bloch_forward'
I assume that this module was replaced, maybe by "sigpy.mri.rf.optcont.blochsim" which would need different input arguments though. @jonbmartin Thanks for your introduction to sigpy at ISMRM!