diff options
author | Willem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl> | 2015-03-06 10:58:50 +0100 |
---|---|---|
committer | Willem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl> | 2015-03-06 11:07:02 +0100 |
commit | f603045f5bb41de6bc1ffa93badd932b891f5f1d (patch) | |
tree | 1474b4dd207c29cd5a8ad2bf85d78743f7507e46 /samples/python/s014_FBP.py | |
parent | 1c247ef5576afe401be02e08b974824263f3d61b (diff) | |
download | astra-f603045f5bb41de6bc1ffa93badd932b891f5f1d.tar.gz astra-f603045f5bb41de6bc1ffa93badd932b891f5f1d.tar.bz2 astra-f603045f5bb41de6bc1ffa93badd932b891f5f1d.tar.xz astra-f603045f5bb41de6bc1ffa93badd932b891f5f1d.zip |
Adjust docstring and samples to new python create_sino function
Diffstat (limited to 'samples/python/s014_FBP.py')
-rw-r--r-- | samples/python/s014_FBP.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/samples/python/s014_FBP.py b/samples/python/s014_FBP.py index ef4afc2..2f8e388 100644 --- a/samples/python/s014_FBP.py +++ b/samples/python/s014_FBP.py @@ -33,8 +33,8 @@ proj_geom = astra.create_proj_geom('parallel', 1.0, 384, np.linspace(0,np.pi,180 # As before, create a sinogram from a phantom import scipy.io P = scipy.io.loadmat('phantom.mat')['phantom256'] -proj_id = astra.create_projector('line',proj_geom,vol_geom) -sinogram_id, sinogram = astra.create_sino(P, proj_id,useCUDA=True) +proj_id = astra.create_projector('cuda',proj_geom,vol_geom) +sinogram_id, sinogram = astra.create_sino(P, proj_id) import pylab pylab.gray() |