[Gate-users] How do you use the Fluence Actor and get meaningful results?
Simon Rit
simon.rit at creatis.insa-lyon.fr
Tue Oct 17 10:30:19 CEST 2017
Hi,
The FluenceActor has been developed to record the particles entering a
volume. To do this, it checks if you are at a geometric boundary
step->GetPreStepPoint()->GetStepStatus() == fGeomBoundary
<https://github.com/OpenGATE/Gate/blob/develop/source/digits_hits/src/GateFluenceActor.cc#L255>
Here you set the size and the position so it might not be aligned with any
boundary and therefore returns a zero image. I would suggest creating a
daughter volume of the waterbox and attach the fluence actor to this
daughter volume.
Note that setResolution does not take a unit, it's a number of voxels.
Simon
On Mon, Oct 16, 2017 at 5:07 PM, Kurt V <kurtv1 at hotmail.com> wrote:
> How do you use the Fluence Actor and get meaningful results?
>
>
>
> I want to generate data for two plots:
>
> 1) A 2D graph of fluence vs energy
>
> 2) A fluence image in 2D (Slice of 3D).
>
>
>
> I cannot seem to use the Fluence actor in .mhd/.raw to get meaningful data.
>
>
>
> My script for the FluenceActor is simplified and I will attach the macro.
> All other doseactors run fine but, I am putting them in root/.txt output.
>
>
>
> What happens is I run the FluenceActor macro, I open up the .mhd file with
> vV to visualize and I just get full black/white or full color images and no
> meaningful data. The same thing for ImageJ.
>
>
>
> Is there some catch to using vV to view this image type or something I am
> missing?
>
>
>
>
>
> (Any help on how to interpret the FluenceActor in .mhd/.raw format is
> greatly appreciated.
>
>
>
> Thank you, Kurt W. Van Delinder
>
>
>
>
>
> # Fluence Tumor #
>
>
>
> /gate/actor/addActor FluenceActor FluTumor
>
> /gate/actor/FluTumor/save output/FluTumor.hdr
>
> /gate/actor/FluTumor/attachTo waterbox
>
> /gate/actor/FluTumor/stepHitType pre
>
> /gate/actor/FluTumor/setPosition 0 0 0 cm
>
> /gate/actor/FluTumor/setSize 2 2 2 cm
>
> /gate/actor/FluTumor/setResolution 10 10 10 mm
>
> /gate/actor/FluTumor/enableScatter true
>
>
>
>
>
> Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for
> Windows 10
>
>
>
> _______________________________________________
> Gate-users mailing list
> Gate-users at lists.opengatecollaboration.org
> http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20171017/729c95b8/attachment.html>
More information about the Gate-users
mailing list