<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Hi Saeed,</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
</div>
<p style="color:rgb(14, 16, 26);background:transparent;margin-top:0pt;margin-bottom:0pt">
<br>
</p>
<p style="color:rgb(14, 16, 26);background:transparent;margin-top:0pt;margin-bottom:0pt">
<span style="background:transparent" data-preserver-spaces="true"></span></p>
<p style="background:transparent;margin-top:0pt;margin-bottom:0pt"><span style="background:transparent" data-preserver-spaces="true">Here is how I would do it as first thought:</span></p>
<p style="background:transparent;margin-top:0pt;margin-bottom:0pt"><span style="background:transparent" data-preserver-spaces="true"> </span></p>
<ol style="background:transparent;margin-top:0pt;margin-bottom:0pt">
<li style="background:transparent;margin-top:0pt;margin-bottom:0pt;list-style-type:decimal">
<span style="background:transparent;margin-top:0pt;margin-bottom:0pt" data-preserver-spaces="true">Generate randomly distributed X, Y, Z positions in a box. There are plenty of MATLAB scripts (or python) available online to do that.</span></li><li style="background:transparent;margin-top:0pt;margin-bottom:0pt;list-style-type:decimal">
<span style="background:transparent;margin-top:0pt;margin-bottom:0pt" data-preserver-spaces="true">Suppose you have too many spheres and don't have to write them by hand one by one. You can write a Matlab or (python) script to generate a macro to define your
 randomly distributed spherical sources and phantoms according to your generated random positions.</span></li></ol>
<p style="color:rgb(14, 16, 26);background:transparent;margin-top:0pt;margin-bottom:0pt">
<span style="background:transparent" data-preserver-spaces="true"><br>
</span></p>
<p style="color:rgb(14, 16, 26);background:transparent;margin-top:0pt;margin-bottom:0pt">
<span style="background:transparent" data-preserver-spaces="true">I hope it helps,</span></p>
<p style="color:rgb(14, 16, 26);background:transparent;margin-top:0pt;margin-bottom:0pt">
<span style="background:transparent" data-preserver-spaces="true">Mahdjoub</span></p>
<p style="color:rgb(14, 16, 26);background:transparent;margin-top:0pt;margin-bottom:0pt">
<span style="background:transparent" data-preserver-spaces="true"><br>
</span></p>
<p style="color:rgb(14, 16, 26);background:transparent;margin-top:0pt;margin-bottom:0pt">
<span style="background:transparent" data-preserver-spaces="true">-----------------------------</span></p>
<p style="color:rgb(14, 16, 26);background:transparent;margin-top:0pt;margin-bottom:0pt">
<span style="background:transparent" data-preserver-spaces="true">Postdoctoral researcher,</span></p>
<p style="color:rgb(14, 16, 26);background:transparent;margin-top:0pt;margin-bottom:0pt">
<span style="background:transparent" data-preserver-spaces="true">Washington University in Saint Louis, USA</span></p>
<div>
<div id="appendonsend"></div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>De :</b> Gate-users <gate-users-bounces@lists.opengatecollaboration.org> de la part de Saeed Bagherzadeh <saeedbagherzadeh92@gmail.com><br>
<b>Envoyé :</b> mardi 26 octobre 2021 13:52<br>
<b>À :</b> gate-users@lists.opengatecollaboration.org <gate-users@lists.opengatecollaboration.org><br>
<b>Objet :</b> [Gate-users] Randomly distributed spheres</font>
<div> </div>
</div>
<div>
<div dir="ltr"><font size="4" face="garamond, times new roman, serif">Dear Gate users,</font>
<div><font size="4" face="garamond, times new roman, serif"><br>
</font></div>
<div><font size="4" face="garamond, times new roman, serif">I hope you are doing well.</font></div>
<div><font size="4" face="garamond, times new roman, serif"><br>
</font></div>
<div><span style="color:rgb(17,17,17)"><font size="4" face="garamond, times new roman, serif" style="">How can I generate a box containing randomly distributed spheres as a geometry?</font></span></div>
<div><font color="#111111" face="garamond, times new roman, serif" size="4"><br>
</font></div>
<div><font color="#111111" face="garamond, times new roman, serif" size="4">Best regards,<br clear="all">
</font>
<div><br>
</div>
-- <br>
<div dir="ltr" class="x_gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div dir="ltr">Saeed Bagherzadeh</div>
<div dir="ltr">PhD Candidate
<div>
<div>Medical Physics </div>
</div>
<div><br>
</div>
<div>E-mail: <a href="mailto:saeedbagherzadeh92@gmail.com" target="_blank">saeedbagherzadeh92@gmail.com</a></div>
<div><a href="mailto:saeedbagherzadeh@modares.ac.ir" target="_blank">saeedbagherzadeh@modares.ac.ir</a></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>