Hello all,
I am simulating EDXS spectra for TEM samples with DTSA-II (see attached script) with Microscopium (v01-06) and encountered a weird error message (see attached png) for some elements (here Ti).
The same code runs fine on my Lorentz version. I don't know if it is a bug, or some changes to the code have to be made.
Also, there is probably an easier way to grab the elements for suggestTransitions than with my code (e.g. "HO" from "H2O" from the stoichiometry... Any hints are welcome
![Smiley :)](https://probesoftware.com/smf/Smileys/default/smiley.gif)
#Grab and add x-ray transitions
e2 = film.stoichiometryString().split(',')
e = [tmp.split("(")[0].encode("ascii") for tmp in e2]
estr = ''.join(e)
xrts=mc.suggestTransitions(estr, e0) # define the desired transitions for X-ray emission images (up to e0)
Related to that: What do you think of adding free-standing thin films (i.e. TEM samples) as an option to the "Simulation alien"?
I think this would make it easier for new users to simulate TEM samples, which seems to work quite well from my experience.
Best regards
lukmuk