From 2b11ca3f30580b814971fcad39110e0751161acb Mon Sep 17 00:00:00 2001 From: Edoardo Pasca Date: Fri, 10 Nov 2017 12:38:25 +0000 Subject: some development --- src/Python/ccpi/reconstruction/FISTAReconstructor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Python/ccpi') 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(); -- cgit v1.2.3