You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I use self.nufft_ob = tkbn.KbNufft(im_size=im_size, #grid_size=(256,256), ).to(self.dev),
I got warning and shutdown
DeprecationWarning: `np.complex` is a deprecated alias for the builtin `complex`. To silence this warning, use `complex` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.complex128` here.
Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
but there is no problem with tkbn.ToepNufft()
and I want to know how to inverse NuFFT with toepliz.
Thank you
The text was updated successfully, but these errors were encountered:
9B8DY6
changed the title
Deprecation waring and shutdown
Deprecation warning and shutdown
Jul 4, 2022
self.nufft_ob = tkbn.KbNufft(im_size=im_size, #grid_size=(256,256), ).to(self.dev), is not syntatically correct python?
Not clear what you mean by "shutdown", but the warning is just a warning -- you can ignore, suppress, or fix (by replacing instances of np.complex with complex) without changing the computation.
When I use
self.nufft_ob = tkbn.KbNufft(im_size=im_size, #grid_size=(256,256), ).to(self.dev)
,I got warning and shutdown
but there is no problem with tkbn.ToepNufft()
and I want to know how to inverse NuFFT with toepliz.
Thank you
The text was updated successfully, but these errors were encountered: