Author Topic: Building free EPMA online tools  (Read 432 times)

Dominik

  • Post Doc
  • ***
  • Posts: 16
Building free EPMA online tools
« on: March 27, 2023, 08:10:20 AM »
Dear all,

over the years I accumulated a number of EPMA tools, e.g., visualising energy schema, element electron configuration, finding transition energies, an interactive model for the Bragg equation, an interactive plot to find interferences, calculating interferences, standard files, dedicated data reduction tools, ...
As it became more and more simple to deploy such tools online as (platform independent) websites, I am currently in the transition to put all these tools online. Also, online documentation tools became easier to deploy, so I started to also document these online. However, it is all very much in the works, why I am restraining myself for the moment to share a link, but hope to can do this soon.

However, programming all these tools takes a lot of time, and I could imagine that I am not the first to think of this. So I would very much like to ask whether someone or a couple of you would be interested in joining forces, and make this a community effort. And of course, maybe similar efforts/programs exist that could be ported to such a community build platform for EPMA tools.

If I can raise interest for this, the idea would be as follows:
- build some kind of consortia (as long as we are more than 2-3 people, ideally more) that meets on a regular basis to plan and structure the effort
- I have a seed in place to demonstrate how this could work
- program the tools using Python
- collaborate on all tools using GitHub, in this case I'd be happy to transfer the tools I already build to a consortia account
- document everything using Quarto
- integrate this into larger international efforts such as the OneGeochemsitry initiative (still young, I'd be happy to tell more about this)
- structure and design it so it can be equally used for research & teaching
- ...

I know I am relatively new (although I follow it since about 2 years) to this forum, but certainly not to electron microprobe and its usage. I also teach course with lots of digital material, which I'd be happy to incorporate in this (I actually already did).

It would be great, if we could build such an online resource/platform, and am looking forward to what you think and if some of you would be interested to join. Also please spread the word. My direct contact is: dominik.hezel ... em.uni-frankfurt.de

 Best,  Dominik

« Last Edit: March 27, 2023, 08:57:04 AM by Dominik »

Ben Buse

  • Emeritus
  • *****
  • Posts: 514
    • Various scripts for EPMA
Re: Building free EPMA online tools
« Reply #1 on: August 13, 2024, 07:08:09 AM »
There was an attempt with openmicroanalysis a while back, I guess it lost energy as people moved on

https://github.com/openmicroanalysis

https://academic.oup.com/mam/article/23/S1/234/6943154

Probeman

  • Emeritus
  • *****
  • Posts: 2870
  • Never sleeps...
    • John Donovan
Re: Building free EPMA online tools
« Reply #2 on: August 13, 2024, 08:24:32 AM »
There was an attempt with openmicroanalysis a while back, I guess it lost energy as people moved on

https://github.com/openmicroanalysis

https://academic.oup.com/mam/article/23/S1/234/6943154

Why would you think that?  Probe Software still supports and distributes free open source EPMA tools on the Open MicroAnalysis site: CalcZAF and Standard for analysis and modeling of unknown and known compositions. The latest source code was updated a few weeks ago:

https://github.com/openmicroanalysis/calczaf

And also from NIST, there is support and distribution of DTSA-2 for EDS analysis and modeling.

Were you looking for something else specifically?
The only stupid question is the one not asked!

Ben Buse

  • Emeritus
  • *****
  • Posts: 514
    • Various scripts for EPMA
Re: Building free EPMA online tools
« Reply #3 on: August 13, 2024, 09:08:13 AM »
Apologies, would this group fit what Dominik is looking for?

I was just playing with Philippe Pinard's python library (pyxray) with Xrays listed as part of openmicroanalysis, constructed during his PhD thesis, creating a very simple code to plot the X-ray transitions with their relative weight, just to try it out

Code: [Select]
import pyxray
import matplotlib.pyplot as plt
import numpy as np
import easygui
TypesOfLines = easygui.enterbox("Which x-ray lines? Seperated by comma eg. Ka1, Kb1 etc")
ListOfElements = easygui.enterbox("Which elements? Seperated by comma eg. Fe, Mg etc")
TypesOfLines = TypesOfLines.split(",")
ListOfElements = ListOfElements.split(",")

for x in range(len(TypesOfLines)):
    for xx in range(len(ListOfElements)):
        xrayline = pyxray.xray_line(ListOfElements[xx].strip(), TypesOfLines[x].strip())
        xpoints = np.array([xrayline.energy_eV, xrayline.energy_eV])
        ypoints = np.array([0, xrayline.relative_weight])
        ElementPlusLine = ListOfElements[xx]+TypesOfLines[x]
        plt.plot(xpoints,ypoints, label = ElementPlusLine)
plt.legend()
plt.show()
« Last Edit: August 13, 2024, 09:16:01 AM by Ben Buse »

Probeman

  • Emeritus
  • *****
  • Posts: 2870
  • Never sleeps...
    • John Donovan
Re: Building free EPMA online tools
« Reply #4 on: August 13, 2024, 09:33:21 AM »
Thanks, Ben.

It might also be worth sending him a PM by clicking on his name to remind him to check this topic since it's been over a year since he posted his request.
The only stupid question is the one not asked!