summaryrefslogtreecommitdiffstats
path: root/src/Python/ccpi
diff options
context:
space:
mode:
authorEdoardo Pasca <edo.paskino@gmail.com>2017-11-10 12:38:25 +0000
committerEdoardo Pasca <edo.paskino@gmail.com>2017-11-10 12:38:25 +0000
commit28f5ddb4538b0d37422821b9b9cfd9a9e8ae0fb1 (patch)
tree23db70024debacb83034f98ab8c161fe62ae3839 /src/Python/ccpi
parente5303410dc3e82a633c2a3ddbc535fdaa95cb671 (diff)
downloadregularization-28f5ddb4538b0d37422821b9b9cfd9a9e8ae0fb1.tar.gz
regularization-28f5ddb4538b0d37422821b9b9cfd9a9e8ae0fb1.tar.bz2
regularization-28f5ddb4538b0d37422821b9b9cfd9a9e8ae0fb1.tar.xz
regularization-28f5ddb4538b0d37422821b9b9cfd9a9e8ae0fb1.zip
some development
Diffstat (limited to 'src/Python/ccpi')
-rw-r--r--src/Python/ccpi/reconstruction/FISTAReconstructor.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Python/ccpi/reconstruction/FISTAReconstructor.py b/src/Python/ccpi/reconstruction/FISTAReconstructor.py
index af6275f..e40ad24 100644
--- a/src/Python/ccpi/reconstruction/FISTAReconstructor.py
+++ b/src/Python/ccpi/reconstruction/FISTAReconstructor.py
@@ -233,7 +233,7 @@ class FISTAReconstructor():
#x1 = rand(N,N,1);
x1 = numpy.random.rand(1,N,N)
#sqweight = sqrt(weights(:,:,1));
- sqweight = numpy.sqrt(weights[0])
+ sqweight = numpy.sqrt(weights[0:1,:,:])
proj_geomT = proj_geom.copy();
proj_geomT['DetectorRowCount'] = 1;
vol_geomT = vol_geom.copy();