Monoenergetic proton pencil beam

From UCL HEP PBT Wiki

Jump to: navigation, search
m
Line 247: Line 247:
You can also plot the data in '''DoseLongitudinalMesh.txt''' and '''DoseLateralMesh.txt''' which were created using commands '''/score/''' in the macro '''proton.mac'''. The file '''DoseLongitudinalMesh.txt''' will be used later to compare with data from the Clatterbridge Cancer Center. Now, use script '''PlotLateralDoseMesh.C''' to plot the lateral dose distribution.
You can also plot the data in '''DoseLongitudinalMesh.txt''' and '''DoseLateralMesh.txt''' which were created using commands '''/score/''' in the macro '''proton.mac'''. The file '''DoseLongitudinalMesh.txt''' will be used later to compare with data from the Clatterbridge Cancer Center. Now, use script '''PlotLateralDoseMesh.C''' to plot the lateral dose distribution.
 +
Before running the script substitude the commas in '''DoseLateralMesh.txt''' with spaces. Remove also the header in the text file. Then, save the text file as '''DoseLateralMesh_Mod.txt'''.
<pre style="color: #800000; background-color: #dcdcdc">
<pre style="color: #800000; background-color: #dcdcdc">
Line 513: Line 514:
You can also compare data (ClatterbridgeData.txt) with simulation done with scoring mesh ('''DoseLongitudinalMesh.txt''').
You can also compare data (ClatterbridgeData.txt) with simulation done with scoring mesh ('''DoseLongitudinalMesh.txt''').
This can be done with script '''PlotDataAndSimMesh.C'''. This script works only if before running it you substitude the commas  
This can be done with script '''PlotDataAndSimMesh.C'''. This script works only if before running it you substitude the commas  
-
in '''DoseLongitudinalMesh.txt''' with spaces. Remove also the header in the text file.  
+
in '''DoseLongitudinalMesh.txt''' with spaces. Remove also the header in the text file. Save the new text file as '''DoseLongitudinalMesh_Mod.txt'''.  
<pre style="color: #800000; background-color: #dcdcdc">
<pre style="color: #800000; background-color: #dcdcdc">

Revision as of 11:55, 24 August 2014

Personal tools