<div dir="ltr"><div>Dear Alessio,</div><div><br></div><div>Thanks for your response.</div><div><br></div><div>Best Regards,</div><div>P</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Oct 23, 2017 at 2:46 PM, Elia Alessio <span dir="ltr"><<a href="mailto:alessio.elia@medaustron.at" target="_blank">alessio.elia@medaustron.at</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Dear P.T.,<br>
<br>
thanks for your email. Please when you are answering to the people of the community do not forget to keep them in cc by using the gate-users mail list so that everybody can potentially answer.<br>
<br>
To calculate energy deposited you have to set as true the flag on energy deposited as follow:<br>
<br>
/gate/actor/MyActor/enableEdep true<br>
<br>
Just add that line to your actor. It will automatically generate a new txt file.<br>
<br>
Concerning the set resolution option in general, having a set resolution 1 2 3 is not the same of having a resolution of 2 4 6 for a fix size. You are changing the binning of your score grid in x y z . Therefore also the dimension of your matrix (or array) is changing accordingly in your output file.<br>
<br>
Hope it can help<br>
<br>
Cheers<br>
Alessio<br>
<div><div class="h5"><br>
-----Original Message-----<br>
From: P. T. [mailto:<a href="mailto:ptpphysics@gmail.com">ptpphysics@gmail.com</a>]<br>
Sent: Sonntag, 22. Oktober 2017 23:00<br>
To: Elia Alessio <<a href="mailto:alessio.elia@medaustron.at">alessio.elia@medaustron.at</a>><br>
Subject: Re: [Gate-users] Dose actor<br>
<br>
Dear Alessio,<br>
Thanks for your prompt response.<br>
I am really sorry for having troubled you so much.<br>
<br>
Then, If I have a regular shape, I would score the dose values directly by attaching DoseActor to the desired volume.<br>
<br>
But, how can I calculate energy deposited in irregular shape volume?<br>
<br>
On the other hand, for a fixed values of "setSize", the "setResolution" only specify the resolution of the output 3D matrix.<br>
Thus, the sum of the numbers (matrix arrays) in the "MyOutputFile.txt" related to the different setResolution (e.g.<br>
setResolution 1 2 3 and setResolution 2 4 6) should be equal for a fixed value of "setSize". Did I understand correctly?<br>
<br>
<br>
Sincerely,<br>
P<br>
<br>
<br>
<br>
<br>
<br>
On 10/22/17, Elia Alessio <<a href="mailto:alessio.elia@medaustron.at">alessio.elia@medaustron.at</a>> wrote:<br>
> Dear P.,<br>
><br>
> 1- If you have an irregular shape I would recommend do to not score<br>
> the dose values directly but use rather the energy deposited and then<br>
> post-process dose values. as far as I know, the dose actor dose not<br>
> compute correctly the dose if you do not have a regular shape.<br>
><br>
> 2- I can see that you are setting size and resolution of your actor<br>
> but then you should consider the dimension of the object that this<br>
> actor is attached to (MyVolume in this case). Could you be more<br>
> specific or provide an example?<br>
><br>
> Cheers<br>
> Alessio<br>
><br>
> -----Original Message-----<br>
> From: Gate-users<br>
> [mailto:<a href="mailto:gate-users-bounces@lists.opengatecollaboration.org">gate-users-bounces@<wbr>lists.opengatecollaboration.<wbr>org</a>]<br>
> On Behalf Of P. T.<br>
> Sent: Sonntag, 22. Oktober 2017 21:32<br>
> To: <a href="mailto:gate-users@lists.opengatecollaboration.org">gate-users@lists.<wbr>opengatecollaboration.org</a><br>
> Subject: [Gate-users] Dose actor<br>
><br>
> Dear Gater,<br>
><br>
> Does anyone have any suggestions on how to solve my questions?<br>
><br>
> 1- Is it possible to calculate the total deposited dose or energy<br>
> deposition in total volume a cylindrical predefined volume such as<br>
> cylindrical waterbox phantom or in the STL volume?<br>
><br>
><br>
> 2- Why in some cases the sum of numbers (matrix arrays) in the<br>
> "MyOutputFile.txt" is not equal when the "setResolution" numbers were<br>
> changed?<br>
><br>
> /gate/actor/addActor DoseActor MyActor<br>
> /gate/actor/MyActor/save MyOutputFile.txt<br>
> /gate/actor/MyActor/attachTo MyVolume<br>
> /gate/actor/MyActor/<wbr>stepHitType random<br>
> /gate/actor/MyActor/setSize 5 5 5 m<br>
> /gate/actor/MyActor/<wbr>setResolution 1 1 3000<br>
><br>
><br>
> Thanks in advance,<br>
><br>
> Best Regards,<br>
> P<br>
> ______________________________<wbr>_________________<br>
> Gate-users mailing list<br>
> <a href="mailto:Gate-users@lists.opengatecollaboration.org">Gate-users@lists.<wbr>opengatecollaboration.org</a><br>
> <a href="https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Flist" rel="noreferrer" target="_blank">https://emea01.safelinks.<wbr>protection.outlook.com/?url=<wbr>http%3A%2F%2Flist</a><br>
> <a href="http://s.opengatecollaboration.org" rel="noreferrer" target="_blank">s.opengatecollaboration.org</a>%<wbr>2Fmailman%2Flistinfo%2Fgate-<wbr>users&data=02%<br>
> 7C01%7Calessio.elia%<a href="http://40medaustron.at" rel="noreferrer" target="_blank">40medaustr<wbr>on.at</a>%<wbr>7Cb588fbd99ee64b92858008d51983<wbr>940f<br>
> %<wbr>7Cadb749e06dfd4f6fbea8cd9f8e0c<wbr>9b89%7C0%7C0%<wbr>7C636442975272440544&sdata<br>
> =<wbr>mMDnwNA5IoXJx4HQq5ER5iDsHn8hqo<wbr>SjJRdYBLRZF5E%3D&reserved=0<br>
> Disclaimer:<br>
> Please notice our E-Mail Disclaimer<br>
</div></div>> <a href="https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww" rel="noreferrer" target="_blank">https://emea01.safelinks.<wbr>protection.outlook.com/?url=<wbr>http%3A%2F%2Fwww</a>.<br>
> <a href="http://medaustron.at" rel="noreferrer" target="_blank">medaustron.at</a>%2Femail-<wbr>disclaimer%2F&data=02%7C01%<wbr>7Calessio.elia%40meda<br>
> <a href="http://ustron.at" rel="noreferrer" target="_blank">ustron.at</a>%<wbr>7C6b01f924c93744249a1808d5198f<wbr>e4db%7Cadb749e06dfd4f6fbea8cd9<br>
> f8e0c9b89%7C0%7C0%<wbr>7C636443028165181531&sdata=<wbr>VSzVCNomwMQkHK65sW3EDgjs0<br>
> pBGxg9gdAG90rCTPmU%3D&<wbr>reserved=0<br>
<div class="HOEnZb"><div class="h5">><br>
><br>
Disclaimer:<br>
Please notice our E-Mail Disclaimer <a href="http://www.medaustron.at/email-disclaimer/" rel="noreferrer" target="_blank">http://www.medaustron.at/<wbr>email-disclaimer/</a><br>
<br>
</div></div></blockquote></div><br></div>