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>2018-01-19 14:26:06 +0000
commit2b11ca3f30580b814971fcad39110e0751161acb (patch)
tree50e67644d2b18018825c17d0001c2ebf92b0b95b /src/Python/ccpi
parent1062346b9f892b7a90ccfb8406bd61fdc44e8e82 (diff)
downloadregularization-2b11ca3f30580b814971fcad39110e0751161acb.tar.gz
regularization-2b11ca3f30580b814971fcad39110e0751161acb.tar.bz2
regularization-2b11ca3f30580b814971fcad39110e0751161acb.tar.xz
regularization-2b11ca3f30580b814971fcad39110e0751161acb.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();