Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente | ||
| gate [2012/03/26 08:56] – admin | gate [2012/11/08 16:25] (Version actuelle) – [Utilisation Gate version 6.2] cclerget | ||
|---|---|---|---|
| Ligne 7: | Ligne 7: | ||
| One of the most innovative features of GATE is its capability to synchronize all time-dependent components in order to allow a coherent description of the acquisition process. As for the geometry definition, the elements of the geometry can be set into movement via scripting. All movements of the geometrical elements are kept synchronized with the evolution of the source activities. For this purpose, the acquisition is subdivided into a number of time-steps during which the elements of the geometry are considered to be at rest. Decay times are generated within these time-steps so that the number of events decreases exponentially from time-step to time-step, and decreases also inside each time-step according to the decay kinetics of each radioisotope. This allows for the modeling of time-dependent processes such as count rates, random coincidences, | One of the most innovative features of GATE is its capability to synchronize all time-dependent components in order to allow a coherent description of the acquisition process. As for the geometry definition, the elements of the geometry can be set into movement via scripting. All movements of the geometrical elements are kept synchronized with the evolution of the source activities. For this purpose, the acquisition is subdivided into a number of time-steps during which the elements of the geometry are considered to be at rest. Decay times are generated within these time-steps so that the number of events decreases exponentially from time-step to time-step, and decreases also inside each time-step according to the decay kinetics of each radioisotope. This allows for the modeling of time-dependent processes such as count rates, random coincidences, | ||
| - | ====== Utilisation ====== | + | ====== Utilisation |
| - | module load gate | + | <note warning> |
| + | Gate est utilisable uniquement en batch mode, pour plus d' | ||
| + | <file bash gate.sge> | ||
| + | #!/bin/bash -l | ||
| + | |||
| + | #$ -q all.q | ||
| + | #$ -V | ||
| + | #$ -N gate_sge | ||
| + | #$ -cwd | ||
| + | #$ -o $JOB_NAME.$JOB_ID.out | ||
| + | #$ -e $JOB_NAME.$JOB_ID.err | ||
| + | |||
| + | module load gate/6.1 | ||
| source $GATE_HOME/ | source $GATE_HOME/ | ||
| - | ====== | + | ## It is recommended to redirect the terminal output of the |
| + | ## simulation (listing of physics processes, sources, run time, etc.) | ||
| + | ## by writing it to a text file instead of printing it in the terminal. | ||
| + | ## This allows one to store the terminal output of each simulation for later viewing | ||
| + | |||
| + | Gate -a CoincWindow 10 -a lld 350 -a uld 650 myScanner.mac > terminal_output.txt | ||
| + | </ | ||
| + | |||
| + | ====== | ||
| + | <note warning> | ||
| + | Gate est utilisable uniquement en batch mode, pour plus d' | ||
| + | |||
| + | <file bash gate.sge> | ||
| + | #!/bin/bash -l | ||
| + | |||
| + | #$ -q all.q | ||
| + | #$ -V | ||
| + | #$ -N gate_sge | ||
| + | #$ -cwd | ||
| + | #$ -o $JOB_NAME.$JOB_ID.out | ||
| + | #$ -e $JOB_NAME.$JOB_ID.err | ||
| + | |||
| + | module load gate/6.2 | ||
| + | source $ROOT_SCRIPT | ||
| + | source $GEANT4_SCRIPT | ||
| + | |||
| + | ## It is recommended to redirect the terminal output of the | ||
| + | ## simulation (listing of physics processes, sources, run time, etc.) | ||
| + | ## by writing it to a text file instead of printing it in the terminal. | ||
| + | ## This allows one to store the terminal output of each simulation for later viewing | ||
| + | |||
| + | Gate -a CoincWindow 10 -a lld 350 -a uld 650 myScanner.mac > terminal_output.txt | ||
| + | </ | ||