[fluka-discuss]: flair+USRBIN 2D

From: Georgios Dedes <G.Dedes_at_physik.uni-muenchen.de>
Date: Mon, 17 Mar 2014 17:10:24 +0100

Hi all,

I used USRBIN ENERGY to calculate energy deposit in a target of
2x2x2cm3. The USRBIN was spanning exactly over the same volume as my
target and with 3 bins in x, 2 in y and 2 in z. The 2D xy plot
(attached), as well as the numbers I get from the ASCII file of the
USRBIN are all consistent and correct. I would like to have the values
of the 2D plot in a form of x y energy table and I realized that the
.dat file created when plotting (with the same name as the plot), short
of contains that info but it gives me:

  -1.0000000000000000 -1.0000000000000000 3.95135302E-03
99.000000
  -1.0000000000000000 -0.33333333333333337 3.54278437E-03
99.000000
  -1.0000000000000000 0.33333333333333326 0.0000000
0.0000000
  -1.0000000000000000 0.99999999999999989 0.0000000
0.0000000

   0.0000000000000000 -1.0000000000000000 0.0000000
0.0000000
   0.0000000000000000 -0.33333333333333337 0.0000000
0.0000000
   0.0000000000000000 0.33333333333333326 0.0000000
0.0000000
   0.0000000000000000 0.99999999999999989 0.0000000
0.0000000

   1.0000000000000000 -1.0000000000000000 0.0000000
0.0000000
   1.0000000000000000 -0.33333333333333337 0.0000000
0.0000000
   1.0000000000000000 0.33333333333333326 0.0000000
0.0000000
   1.0000000000000000 0.99999999999999989 0.0000000
0.0000000

which is not 6 "pixels" (I expect 6 as I have 2x3 bins in x,y) but 12.
It seems that the first column is y and the second is x, am I right? It
also seems that the combination of the first two columns (y,x) indicates
the lower left corner of a "pixel", but it always adds one more in each
dimension. For example the first line of the dat file (-1.00,-1.00) is
the lower left edge of the black voxel, the second line is the lower
left edge of the red pixel. What I would guess as the last "pixel" in
the x dimension has a lower left corner (-1.00,0.33), but it adds
another one (-1.00,0.99). Can anybody comment on that? Is there any
other source of this info in ASCII form?

Last question, what is exactly the meaning of the 4th column which is
either 0 or 99 for the filled "pixels"?

Thanks in advance,
George

-- 
Dr. Georgios DEDES
Ludwig-Maximilians-Universität München (LMU) 
Medical Physics Chair (LS Parodi)
Am Coulombwall 1
85748 Garching
Tel:+49 (0) 89 289-14022
Fax:+49 (0) 89 289-14072




Received on Mon Mar 17 2014 - 18:15:04 CET

This archive was generated by hypermail 2.3.0 : Mon Mar 17 2014 - 18:15:05 CET