Author Topic: spatial distribution in PENEPMA in Calczaf/Standard  (Read 41 times)

Ben Buse

  • Professor
  • ****
  • Posts: 269
spatial distribution in PENEPMA in Calczaf/Standard
« on: September 13, 2017, 05:46:22 am »
Hi, I thought I'd start a wish list -

The GUI you have for PENEPMA makes it very easy to use - I was just trying out batch and k-ratios for oxide inclusion in glass, very easy.

I wondered if you'd considered including spatial information. Currently this can be done via the "Edit input file" - as mentioned in the PENEPMA manual - including the following in .in file

Code: [Select]
       >>>>>>>> Spatial distribution of events.
GRIDX  -1e-5 1e-4 [X coordinates of the box vertices]
GRIDY  -1e-4 1e-4 [Y coordinates of the box vertices]
GRIDZ  -6e-5 0. [Z coordinates of the box vertices]
GRIDBN 1 1 60 [Numbers of bins]
XRAYE  6.3e3 6.5e3 [Energy interval where x-rays are tallied]
XRAYE  1.7e3 1.8e3 [Energy interval where x-rays are tallied]

This record spatial information about x-ray emission. As detailed in Llovet & Salvat 2016

http://iopscience.iop.org/article/10.1088/1757-899X/109/1/012009/pdf

This allows you to determine spatial resolution (plots of xray radial distribution), phi-rho-z emission curves, and maps of emission generation. Which can easily be plotted in gnuplot with script files - although plotting within standard would be very nice! Sounds like a lot of work. Maybe a long term project?

Ben

« Last Edit: September 13, 2017, 05:48:07 am by Ben Buse »

Ben Buse

  • Professor
  • ****
  • Posts: 269
Re: spatial distribution in PENEPMA in Calczaf/Standard
« Reply #1 on: September 13, 2017, 07:41:32 am »
I've just been comparing spatial resolution (radial x-ray distribution) from casino to penepma from Llovet & Salvat paper 2016. 4kV Si Metal, Si KA x-rays emitted

http://iopscience.iop.org/article/10.1088/1757-899X/109/1/012009/pdf



Casino does a good job closely approximating penepma, if you took the 10 percentile, you'd get same resolution.

I'm just now working out how to do it using penepma, using pe-map-01-x.dat which is noisy or integrating z in pe-map-01-yz.dat in excel macro.

Ben

John Donovan

  • Administrator
  • Emeritus
  • *****
  • Posts: 1928
  • Other duties as assigned...
    • Probe Software
Re: spatial distribution in PENEPMA in Calczaf/Standard
« Reply #2 on: September 13, 2017, 08:01:04 am »
Hi Ben,
Those plots cover quite a range of possibilities!   Not exactly a lot of agreement!   Frankly I would tend to trust Penepma over Casino.

On your suggestion to add spatial distribution output/plotting to the Penepma GUI, of course anything can be added, it's just more work!    :)

That said, the Penepma GUI in Standard is really intended for a basic introduction to using Penepma.  I wanted to make it simple so people can get started easily.

Do you have Pinard's pyPenelope GUI?  It's a little more work to use but I think it includes options for spatial distribution output- not sure about plotting.
john
John J. Donovan, Pres. 
(541) 343-3400

"Not Absolutely Certain, Yet Reliable"

Ben Buse

  • Professor
  • ****
  • Posts: 269
Re: spatial distribution in PENEPMA in Calczaf/Standard
« Reply #3 on: September 13, 2017, 08:59:16 am »
Yes I guess also there is a point when you can't avoid the complexities of PENEPMA, and then it requires an understanding of the program and fine tuning the parameters for the task in hand.

Thanks

Ben

Ben Buse

  • Professor
  • ****
  • Posts: 269
Re: spatial distribution in PENEPMA in Calczaf/Standard
« Reply #4 on: September 14, 2017, 08:19:07 am »

I'm just now working out how to do it using penepma, using pe-map-01-x.dat which is noisy or integrating z in pe-map-01-yz.dat in excel macro.

Ben

For lateral resolution in penepma pe-map-01-radial.dat is the way to go in the latest version