RE: [fluka-discuss]: flair+USRBIN 2D

From: Stefan Roesler <Stefan.Roesler_at_cern.ch>
Date: Mon, 17 Mar 2014 18:16:41 +0000

Hi George

Probably for gnuplot plotting reasons (most likely it needs lower and upper bin limit for *each* bin, i.e. also the last one) in both plot coordinates there is a repetition in the end, i.e. also in the horizontal coordinate which is the last 4 lines in your example (that's why you observe 12 lines). It may become clearer when you run with more statistics and see non-zero scoring values as you will see that the lines (that are repeated with the upper bin limit) carry the same scoring values as the previous ones.

The first column is the horizontal coordinate of the plot, the second is the vertical and the last column is the error on the mean of the projection in percent.

Cheers
Stefan



-----Original Message-----
From: owner-fluka-discuss_at_mi.infn.it [mailto:owner-fluka-discuss_at_mi.infn.it] On Behalf Of Georgios Dedes
Sent: 17 March 2014 17:10
To: fluka-discuss_at_fluka.org
Subject: [fluka-discuss]: flair+USRBIN 2D

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 - 20:29:12 CET

This archive was generated by hypermail 2.3.0 : Mon Mar 17 2014 - 20:29:13 CET