<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from text --><style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<meta content="text/html; charset=UTF-8">
<style type="text/css" style="">
<!--
p
{margin-top:0;
margin-bottom:0}
-->
</style>
<div dir="ltr">
<div id="x_divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:#000000; font-family:Calibri,Helvetica,sans-serif">
<p>Hi Jakub,</p>
<p><br>
</p>
<p>Yes, sorry, this is a relatively new (~1 year old) addition to the "source properties" in GateSourceTPSPencilBeam.</p>
<p>We ("GateRTion" crowd) are even thinking about changing it yet again. <span>😊</span></p>
<p><br>
</p>
<p>If the treatment plans that you work with are specifying the spot weights in "number of ions" (option
<span>"setSpotIntensityAsNbIons</span>" true), then in principle you do not need to worry about this, the monitor calibration will be ignored (add a dummy polynomial, maybe you can even omit it).</p>
<p><br>
</p>
<p>If it does use MU as a spot weight unit, then during commsissioning of your TPS you or your medical physicist colleagues probably had to provide tables/curves of N/MU as function of beam energy. A polynomial fit to those data would be good first try for
a good N/MU calibration in the source properties file. Maybe another possibility: fit them together with the energy polynomials, if you happen to have a set of IDD curves with absolute calibration.</p>
<p><br>
</p>
<p>In older versions of Gate (8.0 and older) the N/MU calibration was hardcoded in GateSourceTPSPencilBeam. I made a polynomial fit to that calibration function and inserted it in the source properties file of the "dosimetry/dosimetry/protontherapy" example:</p>
<p><br>
</p>
<p><a href="https://github.com/OpenGATE/GateContrib/blob/master/dosimetry/dosimetry/protontherapy/data/Source-Properties.txt" class="x_OWAAutoLink" id="LPlnk418865">https://github.com/OpenGATE/GateContrib/blob/master/dosimetry/dosimetry/protontherapy/data/Source-Properties.txt</a></p>
<p><br>
</p>
<p>A few years ago, when I was working in Uppsala, I compared this function with the measured calibration curve of the Skandion clinic. Amazingly, they were completely compatible within the accuracy of the measurement. If the treatment machines for which you
are going to perform simulations are similar to those at Skandion, then I bet that you can be optimistic about the similarity of your curve with that "standard calibration curve".
<span>😊</span></p>
<p><br>
</p>
<p>About the planned change to this functionality: right now, only the shape of the N/MU curve matters, not the overall normalization factor. The spot weights (be it in N or in MU) are effectively renormalized to the number of requested primaries: if you request
10 times more primaries, then the DoseActor will record a 10 times higher dose. In order to compare with TPS dose, you need to rescale the distributions with NTPS/NMC. It has been suggested that the dose actor should apply this rescaling factor directly (this
is technically not so hard, using the particle weight). This probably wouldn't affect the source properties file, but it would put stronger requirements on the quality of the fit that you provide (not only the shape, but the normalization will matter too).
For the implementation, we need to take care that this will work correctly with variable number of primaries (for the SaveData functionality of the dose actor, e.g. with "everyNseconds", or in combination with the "stop on script" actor).</p>
<p><br>
</p>
<p>HTH,</p>
<p>David<br>
</p>
<p><br>
</p>
<p><br>
</p>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>Von:</b> Gate-users <gate-users-bounces@lists.opengatecollaboration.org> im Auftrag von jbaran <jbaran@ifj.edu.pl><br>
<b>Gesendet:</b> Mittwoch, 21. August 2019 13:18:44<br>
<b>An:</b> Gate Users<br>
<b>Betreff:</b> [Gate-users] TPSPencilBeam source description</font>
<div> </div>
</div>
</div>
<font size="2"><span style="font-size:10pt;">
<div class="PlainText">Dear Gate Community,<br>
<br>
According to the TPSPencilBeam source description <br>
(<a href="http://wiki.opengatecollaboration.org/index.php/Users_Guide:Source#TPS_Pencil_Beam_source">http://wiki.opengatecollaboration.org/index.php/Users_Guide:Source#TPS_Pencil_Beam_source</a>)
<br>
I have to provide 9 polynomials. I dealt with all of them. However I <br>
have a problem to describe the beam monitor calibration in number of <br>
particles per monitor unit (N/MU). Unfortunately, there is no <br>
description of that in that example: <br>
<a href="https://github.com/OpenGATE/GateContrib/blob/master/dosimetry/Radiotherapy/example5/data/Source-Properties.txt">https://github.com/OpenGATE/GateContrib/blob/master/dosimetry/Radiotherapy/example5/data/Source-Properties.txt</a>
<br>
.<br>
<br>
Is anyone have similar problem and could provide the proper way of doing <br>
that.<br>
<br>
All the best,<br>
Jakub<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
Gate-users mailing list<br>
Gate-users@lists.opengatecollaboration.org<br>
<a href="http://lists.opengatecollaboration.org/mailman/listinfo/gate-users">http://lists.opengatecollaboration.org/mailman/listinfo/gate-users</a></div>
</span></font>
</body>
</html>