We depend on your feedback and ideas!
Quote from: Ben Buse on May 07, 2026, 11:42:01 PMIt be great if PFE could for standard spectra read standard composition from standard database and write to emsa file using this tag.
Does DTSA-2 use this tag or just NeXL?
##D2STDCMP : NBS K-411 mineral glass,(Si:25.382),(Fe:11.209),(Mg:8.847),(Ca:11.057),(Al:0.053),(Mn:0.077),(O:43.55805)
Quote from: Joe Boesenberg on May 07, 2026, 05:31:17 PMThanks very much for the clarity. The value in my Motors.dat file is 5000 (which is 50 microns), which I will change to 10000. Does whether the value is positive or negative (10000 or -10000) indicate the direction of the backlash (positive backlashes in a higher direction than the Z value and negative the lower direction)?
Quote from: Joe Boesenberg on May 07, 2026, 03:34:05 PMJohn
Just to be sure, and maybe I am a little dense, if the StageBacklashFlag=0, that means it is only reading the JEOL hardware, not anything in the PfE software, correct?
Thanks
Joe
function parsedtsa2comp(value::AbstractString)::Material
try
sp = split(value, ",")
name = sp[1]
mf, density = Dict{Element,Float64}(), missing
for item in sp[2:end]
if item[1] == '(' && item[end] == ')'
sp2 = split(item[2:end-1], ":")
mf[parse(Element, sp2[1])] = 0.01 * parse(Float64, sp2[2])
else
density = parse(Float64, item)
end
end
return material(name, mf, density=density)
catch err
@warn "Error parsing composition $(value) - $(err)"
end
end
This code reads the contents of the ##D2STDCOMP tab. It splits the value on commas.Quote from: Joe Boesenberg on May 07, 2026, 12:26:26 PMAlso, does PFE do the same magnitude backlash as the JEOL software setup (now 100 microns) and in the same direction (approaching from under or over the Z value). John Glass mentioned the JEOL software approaches from under the Z value.