Probe Software Users Forum

Software => CalcZAF and Standard => Topic started by: Ben Buse on September 13, 2017, 05:46:22 AM

Title: spatial distribution in PENEPMA in Calczaf/Standard
Post by: Ben Buse 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

       >>>>>>>> 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

Title: Re: spatial distribution in PENEPMA in Calczaf/Standard
Post by: Ben Buse 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

(https://smf.probesoftware.com/gallery/453_13_09_17_7_39_33.png)

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
Title: Re: spatial distribution in PENEPMA in Calczaf/Standard
Post by: John Donovan 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
Title: Re: spatial distribution in PENEPMA in Calczaf/Standard
Post by: Ben Buse 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
Title: Re: spatial distribution in PENEPMA in Calczaf/Standard
Post by: Ben Buse on September 14, 2017, 08:19:07 AM
Quote from: Ben Buse on September 13, 2017, 07:41:32 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