<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Hi Satyajit,</p>
    <p>Have you tried defining a cold source? You can use the "forbid"
      command, for example:</p>
    <p>/gate/world/daughters/name cold_area
      <br>
      /gate/world/daughters/insert cylinder
      <br>
      /gate/cold_area/vis/forceWireframe<br>
      /gate/cold_area/vis/setColor green
      <br>
      /gate/cold_area/geometry/setRmax 3.0 cm
      <br>
      /gate/cold_area/geometry/setHeight 1. cm </p>
    <p>/gate/source/addSource number1<br>
      /gate/source/number1/setActivity 100000. becquerel<br>
      /gate/source/number1/gps/particle gamma
      <br>
      /gate/source/number1/setType backtoback
      <br>
      /gate/source/number1/gps/type Volume
      <br>
      /gate/source/number1/gps/shape Cylinder
      <br>
      /gate/source/number1/gps/radius 5. cm
      <br>
      /gate/source/number1/gps/halfz 0.5 cm
      <br>
      /gate/source/number1/gps/centre 0. 0. 0. cm<br>
      /gate/source/number1/gps/monoenergy 511. keV
      <br>
      /gate/source/number1/gps/angtype iso
      <br>
      <b>/gate/source/number1/gps/Forbid cold_area
      </b><br>
      /gate/source/number1/dump 1
      <br>
    </p>
    <p>It might work if when you define your background, you forbid the
      area where the hot rods are, and then you define your hot rods
      separately as you are already doing. I'm not sure if it will fix
      your problem but it's worth a shot. Then you also can define the
      rods with whatever activity you want, without having to take into
      account the background.<br>
      <br>
    </p>
    <p>Best,<br>
      Cassandra Miller<br>
      PhD Student<br>
      Quantitative Tomography Lab & Medical Imaging Research Group<br>
      Department of Physics & Astronomy, University of British
      Columbia<br>
    </p>
    <p><br>
    </p>
    <div class="moz-cite-prefix">On 2019-11-13 8:54 a.m., Satyajit Ghosh
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAKnR-N4sO9QBbm8UePqd+Y50QJ8oWgcD8D7r-bMWDoYc8iyxdA@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">Dear GATE users,
        <div><br>
        </div>
        <div>               I am trying to define an activity
          distribution of four circular hot rods with a backgrodeund (of
          ratio 1:2 wrt hot region) using analytic definition of source
          (not voxelized definition). I know that the 'setActivity'
          command basically assigns a certain amount of activity inside
          a the defined volume. Naturally the background volume is
          needed to be defined as universal volume containing four
          volumes for hot rods. After assigning the appropriate activity
          values in 5 volumes (4 hot rods and one background), I am not
          getting desired hot to background ratio in STIR reconstructed
          image of GATE data. Please note that I have set the activity
          of individual hot rods considering contribution from
          background activity. <b>I believe the reason of not getting
            desired result can be the fact that one can't define
            overlapping source volumes. Is this correct?</b> If not then
          how do I define an activity distribution with a background
          using analytic definition of source.</div>
        <div><br>
        </div>
        <div>Satyajit Ghosh</div>
        <div>Phd student</div>
        <div>Physics Department</div>
        <div>IIT Bombay, Mumbai</div>
        <div>13-Nov.2019<br>
          -- <br>
          <div dir="ltr" class="gmail_signature"
            data-smartmail="gmail_signature">
            <div dir="ltr">
              <div>
                <div dir="ltr">
                  <div>
                    <div dir="ltr">
                      <div>
                        <div dir="ltr">
                          <div>
                            <div dir="ltr">
                              <div>
                                <div dir="ltr">
                                  <div dir="ltr"><font face="arial,
                                      sans-serif"><b>Satyajit Ghosh</b></font></div>
                                  <div dir="ltr">
                                    <div><font face="arial, sans-serif"><b>PhD
                                          Student</b></font></div>
                                    <div><font face="arial, sans-serif"><b>Nuclear
                                          Spectroscopy and Molecular
                                          Imaging Lab,<br>
                                        </b></font>
                                      <div><font face="arial,
                                          sans-serif"><b>Physics
                                            Department, IIT Bombay,</b></font></div>
                                    </div>
                                    <div><font face="arial, sans-serif"><b>Mumbai-400076,
                                          INDIA</b></font></div>
                                  </div>
                                </div>
                              </div>
                            </div>
                          </div>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
Gate-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Gate-users@lists.opengatecollaboration.org">Gate-users@lists.opengatecollaboration.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opengatecollaboration.org/mailman/listinfo/gate-users">http://lists.opengatecollaboration.org/mailman/listinfo/gate-users</a></pre>
    </blockquote>
  </body>
</html>