[Gate-users] Corrigendum: My mistake in pprevious messaga: Problem running GATE and ROOT with regularMatrix argument

Simon Stute gate.stute at gmail.com
Tue Aug 24 15:52:53 CEST 2010


Hi Javier,

Thank you very much for all patches that you sent.
This important bug fix will be included in the next gate version.
But Shahrokh uses the v4 and (I am not 100% sure) and translations and
rotations should work in this version.

Thanks again,
Cheers,
Simon


On Tue, Aug 24, 2010 at 12:21 PM, Javier Ors Anía <Javier.Ors at ific.uv.es>wrote:

> I can't tell you a precise answer for your displacement problems, but I
> can tell you to be very careful with rotations and translations
> involving regularMatrix volumes.
>
> I see in you code that you apply a rotation to you volume, and I can
> tell you that there is a bug in the code that prevents rotations and
> translations being applied at all to regularMatrix volumes. Now I'm not
> sure about whether this bug also affects compressedMatrix volumes, but I
> think that this is not the case. So this is probably the origin of the
> differences you see between using one or another type of volume. Make a
> try with a big translation in one axis and you'll see what I say.
>
> I reported this problem about one month ago and also sent a patch that
> I'm using right now for it, but nobody answered, this is the link to my
> message in the list archives:
>
>
> http://lists.opengatecollaboration.org/mailman/private/gate-users/2010-June/004328.html
>
> El dom, 22-08-2010 a las 23:51 -0700, shahrokh nasseri escribió:
> > Thank you for your help very much. I have another question.
> >
> > There is a perception (with me at least) that the "compressedMatrix"
> option
> > is led to displace voxels in the geometric structure of voxellized
> phantom.
> > Perhaps this does not happen to use "regularMatrix" option. However, I
> think
> > that "compressedMatrix" has performed more quickly from "regularMatrix".
> >
> > As I mentioned in the previous message, in using "compressedMatrix"
> option,
> > it ‎mismatches between voxellized source and voxellized phantom in the
> > spatial coordinates.
> >
> > Is it true that "regularMatrix" option is initialized the geometric
> > structure of voxellized phantom better or more precise than
> "compressedMatrix"
> > option?
> >
> > Your sincerely
> > Shahrokh
> >
> >
> > On Sun, Aug 22, 2010 at 1:37 PM, Simon Stute <gate.stute at gmail.com>
> wrote:
> >
> > > Then if you need visualization, no matter whether you use compressed or
> > > regular.
> > > When you'll finish debugging your simulation, just disable the visu and
> > > switch to regular.
> > >
> > > On Sun, Aug 22, 2010 at 7:38 PM, shahrokh nasseri <
> > > shahrokh.nasseri at gmail.com> wrote:
> > >
> > >> Hi,
> > >>
> > >> I must correct my mistake. After I used "regularMatrix" argument in my
> > >> macro file as mentioned in the following commands, I get ‎the error
> > >> messages mentioned in previous above. But when I used
> > >> "compressedMatrix" ‎argument, I do not get any error or warning
> > >> message.‎
> > >>
> > >> ‎/gate/world/daughters/name jaszcak_phantom‎
> > >> ‎/gate/world/daughters/insert regularMatrix
> > >> ‎#‎
> > >> ‎/gate/jaszcak_phantom/geometry/insertReader interfile
> > >> ‎/gate/jaszcak_phantom/interfileReader/insertTranslator range‎
> > >> ‎/gate/jaszcak_phantom/interfileReader/rangeTranslator/readTable
> > >> ‎range.dat
> > >> ‎/gate/jaszcak_phantom/interfileReader/rangeTranslator/describe 1‎
> > >> ‎/gate/jaszcak_phantom/interfileReader/readFile rods.h33‎
> > >> ‎#‎
> > >> ‎# off center Y-axis is +0 cm
> > >> ‎/gate/jaszcak_phantom/placement/setTranslation 0 0 0 cm‎
> > >> ‎/gate/jaszcak_phantom/placement/setRotationAxis 0 1 0‎
> > >> ‎/gate/jaszcak_phantom/placement/setRotationAngle 180 deg‎
> > >> ‎ ‎
> > >> Please guide me,‎
> > >> Shahrokh
> > >>
> > >>
> > _______________________________________________
> > Gate-users mailing list
> > Gate-users at lists.opengatecollaboration.org
> > http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
>
>
> _______________________________________________
> 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