<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" id="owaParaStyle">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body fpstyle="1" ocsi="0" bgcolor="#FFFFFF">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Hi,<br>
<br>
Also the random correction rates you supply are the correction factors you want to apply. CASToR will not compute the correction terms but only apply them if supplied.<br>
<br>
In other words you have to compute these correction terms (also for scatters), whatever the way you compute them (from singles rates or delayed events), and supply these correction terms as rates (per seconds) in the data file = the number of random events
 in this given LOR per seconds (same for scatters).<br>
<br>
Finally, I think you are referring to the example of how to build a datafile by yourself. As CASToR is fully generic, this option of providing a file for random correction factors is an example but the way to include them properly in the datafile is your responsability.<br>
<br>
Best<br>
Simon<br>
<br>
<br>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div id="divRpF840240" style="direction: ltr;"><font size="2" face="Tahoma" color="#000000"><b>De :</b> Castor-users [castor-users-bounces@lists.castor-project.org] de la part de tmerlin [Thibaut.Merlin@univ-brest.fr]<br>
<b>Envoyé :</b> mercredi 5 juillet 2017 21:02<br>
<b>À :</b> castor-users@lists.castor-project.org<br>
<b>Objet :</b> Re: [Castor-users] Random factor query<br>
</font><br>
</div>
<div></div>
<div>
<p>Dear Alberto Sanchez,</p>
<p>The random correction factors are expected to be rates (count/s). They are normalized during the reconstruction by the frame/acquisition duration in seconds (if provided), and added to the forward projection value alongside scatter correction factors.</p>
Thank you for the bug report, we are currently working on a patch. As Niccolo previously mentioned, the corrected version (attached file) should work fine.<br>
<br>
Best regards,<br>
Thibaut<br>
<br>
<br>
<div class="moz-cite-prefix">On 04/07/2017 12:05, Alberto Sánchez-Pastor Gomis wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div>
<div>
<div>
<div>
<div>Dear all,<br>
<br>
</div>
I would like to apologize for not being able to figure this out but, how do the random corrections work in CASToR?<br>
<br>
</div>
I've seen that there is the option of providing a file containing the "randoms correction factors" and that the PET data formats can include the random intensity rates but is this based around the calculation from the singles' rates or is this applicable to
 the delayed window method? And what do "randoms correction factors" represent? Is it the fraction of counts in an LOR that you expect to be random counts?<br>
<br>
</div>
Additionally I would like to mention that I believe that there is a bug in the sensitivity calculation when using the "min angle difference" other than 0. I was attempting to implement a scanner using 8 rectors and a min angle difference of 90 but it just meant
 that the sensitivity dropped in an angular section of 90 deg of the FOV leaving it asymmetrical.<br>
<br>
</div>
Regards,<br>
</div>
Alberto Sanchez<br>
<div>
<div><br>
<br>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader" target="_blank"></fieldset> <br>
<pre>_______________________________________________
Castor-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Castor-users@lists.castor-project.org" target="_blank">Castor-users@lists.castor-project.org</a>
<a class="moz-txt-link-freetext" href="http://lists.castor-project.org/listinfo/castor-users" target="_blank">http://lists.castor-project.org/listinfo/castor-users</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">-- 
Thibaut MERLIN -- PhD

Docteur en Imagerie Médicale au Laboratoire de Traitement de l'Information Medicale (LaTIM - INSERM UMR 1101)
Bâtiment 1
CHRU Morvan - 2, Av. Foch
29609 Brest CEDEX - FRANCE
Tel: 06.75.12.24.90</pre>
</div>
</div>
</div>
</body>
</html>