sigpy-rf-tutorials icon indicating copy to clipboard operation
sigpy-rf-tutorials copied to clipboard

module 'sigpy.mri' has no attribute 'bloch_forward'

Open LucaNagel opened this issue 4 years ago • 1 comments

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!

LucaNagel avatar May 19 '21 19:05 LucaNagel