[Gate-users] wrong output of benchSPECT example

Der Sarkissian Henri Henri.Der-Sarkissian at eleves.ec-nantes.fr
Mon Apr 18 18:36:47 CEST 2011


OK I see what's going wrong.

The spatial blurring digitizer module is broken in GATE 6.1. The 
problem is in the file digits_hits/src/GateSpBlurring.cc at lines 53 
and 54 :

53:  outputPulse->SetGlobalPos(G4ThreeVector(PxNew,PyNew,PzNew));
54:  outputPulse->SetLocalPos(G4ThreeVector(PxNew,PyNew,PzNew));

which means local and global coordinates are mixed. This can only work 
when the camera head is in the XY plane. For the other positions, 
detected hits are moved out of the matrix boundaries, that's why some 
images are empty. If you run the benchmark without the Spblurring 
everything seems to be fine.

I suggest you not to use the spatial blurring module until it's fixed 
(or try to fix).


Cheers,
Henri

Changguo Ji <cgji at yahoo.com> a écrit :

>
>
> Hi, all
>
> I run benchSPECT example and used the xMedcon to view the interfile,
>
> Unfortunately,some of images are black! only the SPECTHeads exactly are in YZ
> plane have projection images. other are empty.
>
> I do set the projectionPlane YZ as following
>
> # Specify the projection plane (XY, YZ or ZX)
> ##
> /gate/output/projection/projectionPlane YZ
>
>
> But how to output all images collected by all heads?
>
>
> Any body can help?
>
>
> Jason
> _______________________________________________
> Gate-users mailing list
> Gate-users at lists.opengatecollaboration.org
> http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
>





More information about the Gate-users mailing list