[Gate-users] Can I give two independent wobble motions on a volume at the same time ?

Joon Young Suk joonyoung.suk at gmail.com
Tue Dec 11 23:24:42 CET 2007


Hi all,

I want to make two wobble motion( one along x-axis, the other along y- 
axis) on the detector at the same time. Is it possible?

I just added two wobble motion like below, but GATE read only the  
last movement, not both.

/gate/cylindricalPET/moves/insert osc-trans
/gate/cylindricalPET/osc-trans/setAmplitude 0. 1.5 0. cm
/gate/cylindricalPET/osc-trans/setFrequency 0.125 Hz
/gate/cylindricalPET/osc-trans/setPeriod 8 s
/gate/cylindricalPET/osc-trans/setPhase -90 deg
##################################################
/gate/cylindricalPET/osc-trans/setAmplitude 1.5 0. 0. cm
/gate/cylindricalPET/osc-trans/setFrequency 0.125 Hz
/gate/cylindricalPET/osc-trans/setPeriod 8 s
/gate/cylindricalPET/osc-trans/setPhase 0 deg

I tried to put different name for osc-trans like osc-trans0 and osc- 
trans1, but it made error as expected.

Please give advise how to make it.

Thanks
Joon Young Suk




More information about the Gate-users mailing list