# Pet scan simulation

**URL:** <https://fluka-forum.web.cern.ch/t/pet-scan-simulation/946>\
**Category:** Flair\
**Created:** [24 September 2020 08:36 UTC](https://fluka-forum.web.cern.ch/t/pet-scan-simulation/946 "2020-09-24T08:36:58Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![abdelkrim.zghari](https://fluka-forum.web.cern.ch/letter_avatar_proxy/v4/letter/a/9fc29f/32.png) [@abdelkrim.zghari](https://fluka-forum.web.cern.ch/u/abdelkrim.zghari)\
**Post date:** [24 September 2020 08:36 UTC](https://fluka-forum.web.cern.ch/t/pet-scan-simulation/946/1 "2020-09-24T08:36:58Z")

</div>

Good morning every FLUKA researches  
I need your help  
I want to model and simulate a PET scan for example Ecat\_Exact the standard examples existed in flair folder. How i can define some parameter as energy, number of event, activity.  
when I run the example I get this error without finished the simulation:  
\*\*\*\*\* Start\_transform directive with ununderstandable name/numder, execution terminated \*\*\* \*\*  
**$start\_transform 0.0 -pet002**  
I get the same error with other pet scan existed in the folder  
Also how to plot the results obtained because I get many outputfile  
best respect

---

<div class="post-metadata">

**Author:** ![ctheis](https://fluka-forum.web.cern.ch/user_avatar/fluka-forum.web.cern.ch/ctheis/32/10734_2.png) [@ctheis](https://fluka-forum.web.cern.ch/u/ctheis)\
**Post date:** [29 September 2020 13:53 UTC](https://fluka-forum.web.cern.ch/t/pet-scan-simulation/946/3 "2020-09-29T13:53:30Z")

</div>

Hello,

I’m afraid I don’t know which example you are referring to.  
But the error that you see seems to come from the fact that in your input you refer to a transformation matrix called `pet002` which is not or rather incorrectly defined.

Please have a look at [https://flukafiles.web.cern.ch/flukafiles/manual/8.2.5.html](https://flukafiles.web.cern.ch/flukafiles/manual/8.2.5.html)  
The `$start_transform` statement should only have one parameter (= the name of the transformation matrix) and not two.

Cheers  
Chris

---

<div class="post-metadata">

**Author:** ![vasilis](https://fluka-forum.web.cern.ch/user_avatar/fluka-forum.web.cern.ch/vasilis/32/16_2.png) [@vasilis](https://fluka-forum.web.cern.ch/u/vasilis)\
**Post date:** [10 October 2020 17:36 UTC](https://fluka-forum.web.cern.ch/t/pet-scan-simulation/946/4 "2020-10-10T17:36:33Z")

</div>

@abdelkrim.zghari  
unfortunately flair was generating the wrong number of variables in the **$start\_transform** cards.  
I’ve just corrected it in the development version and I will release it in the next days.  
In the mean time, open the input file with a text editor of your choice and delete the **0.0** from all the **$start\_transform** cards

---

<div class="post-metadata">

**Author:** ![horvathd](https://fluka-forum.web.cern.ch/user_avatar/fluka-forum.web.cern.ch/horvathd/32/10584_2.png) [@horvathd](https://fluka-forum.web.cern.ch/u/horvathd)\
**Post date:** [10 November 2020 07:35 UTC](https://fluka-forum.web.cern.ch/t/pet-scan-simulation/946/5 "2020-11-10T07:35:36Z")

</div>

Closed on 10 November 2020 07:35 UTC


