# How can I calculate point spread function?

**URL:** <https://root-forum.cern.ch/t/how-can-i-calculate-point-spread-function/23663>\
**Category:** Evolution Proposals, Apps & Ideas\
**Created:** [February 3, 2017, 6:41pm UTC](https://root-forum.cern.ch/t/how-can-i-calculate-point-spread-function/23663 "2017-02-03T18:41:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![telikani](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/t/dbc845/32.png) [@telikani](https://root-forum.cern.ch/u/telikani)\
**Post date:** [February 3, 2017, 6:41pm UTC](https://root-forum.cern.ch/t/how-can-i-calculate-point-spread-function/23663/1 "2017-02-03T18:41:36Z")

</div>

Hi ,  
I simulated SPECT camera using Gate. I want to calculate and plot point spread function(psf) from root output (.root file) of Gate simulation. For doing this work I need .C file which calculate a psf. I need the commends ( orders) in .C file that compute the point spread function and then plot it . what are the necessary comments for computing the point spread function in .C file?  
Would you please help me?

---

<div class="post-metadata">

**Author:** ![Danilo](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/danilo/32/34528_2.png) [@Danilo](https://root-forum.cern.ch/u/Danilo)\
**Post date:** [February 5, 2017, 1:50pm UTC](https://root-forum.cern.ch/t/how-can-i-calculate-point-spread-function/23663/2 "2017-02-05T13:50:34Z")

</div>

Hi,

you posted the same questions on all categories of the forum. I took the freedom to purge all but one posts: this strategy does not increase the likelihood of being better helped out.  
It is hard to understand what you want to achieve from your text. Perhaps you can start from a general introduction to ROOT in order to be able to solve your particular problem. You can certainly have a look here to start: [root.cern.ch/getting-started](https://root.cern.ch/getting-started)

Cheers,  
D
