included methods now requires to "calibrate" the """dead time constant""" for every of the methods separately as these "constants" will be at different values depending from dead time correction method used. (i.e. with classical method probably more than 3µs, with probeman et al log, less than 3µs, and Will and 6th term somewhere in between). <sarcasm on>So probably PfS configuration files will address this need and will be a tiny bit enlarged. Is it going to have a matrix of dead time "constants" for 4 methods, and different XTALS, and few per XTAL for low and high angles...? just something like 80 to 160 positions to store "calibrated "dead time constants"" (lets count: 5 spectrometers * 4 XTALS * 4 methods * 2 high/low XTAL positions) - how simple is that?<sarcasm off>
No need for sarcasm

, it is quite a reasonable question: that is, if the dead time (parametric) constants vary slightly depending on the exact expression utilized, how will we manage this assortment of expressions and constants?
This post is a response to that question (since SG asked), but the actual audience for this post is probably the typical Probe for EPMA user, on exactly how we do we manage all these dead time constants and perhaps, do we even require so many?
The simple answer is: it's easy.
But before we get into the details of how all this is handled in Probe for EPMA it might be worth noting a few observations: in most cases the differences in the optimized dead time constants between the various expressions are very small (e.g., 1.32 usec vs. 1.29 usec in the case of Ti Ka on PETL). In fact, for normal sized Bragg crystals (as seen in the previous post of Ti Ka on LIFL), we don't see any significant differences in our results up to 50K cps. For most situations, the exact dead time expression and dead time constant utilized will not be an important consideration. But if we want to utilize large area crystals at high beam currents on pure metals or oxides (not to mention accurately characterizing our dead time constants for general usage), then we will want to perform these calibrations carefully at high beam currents.
That said, it is still not entirely clear how much of effect emission line energy or bias voltage has on the exact value of the dead time constant. Probeman's initial efforts on the question of emission line energies is ambiguous thus far (from his Cameca SX100 instrument):
https://probesoftware.com/smf/index.php?topic=1475.msg11017#msg11017And this much larger set of dead times from Philippe Pinard for a number of emission lines from a few years back on his JEOL 8530 instrument:
https://probesoftware.com/smf/index.php?topic=394.msg6325#msg6325Pinard's data is also somewhat ambiguous as to whether there is a correlation between emission energy and dead time. Anyway, I will admit that when we started developing software for the electron microprobe we did not anticipate that Probeman might develop new expressions for the correction of dead time, much less that the different expressions would produce slightly different (optimized) dead time constants (it's hard to make predictions, especially about the future!).

So how does Probe for EPMA handle all these various dead time constants? It all starts with the SCALERS.DAT file, which is found in the C:\ProgramData\Probe Software\]Probe for EPMA folder (which may need to be unhidden using the View menu in Windows Explorer).
The initial effort to define dead time constants was originally implemented using a single value for each spectrometer. These are found on line 13 in the SCALERS.DAT file. It can be edited using any plain text editor such as NotePad or NotePad+.
The dead time constants are on line 13 shown highlighted here in red:
"1" "2" "3" "4" "5" "scaler labels"
"" "" "" "" "" "fixed scaler elements"
"" "" "" "" "" "fixed scaler xrays"
2 2 2 2 2 "crystal flipping flag"
81010 81010 81010 81010 81010 "crystal flipping position"
4 2 2 4 2 "number of crystals"
"PET" "LPET" "LLIF" "PET" "LIF" "crystal types1"
"TAP" "LTAP" "LPET" "TAP" "PET" "crystal types2"
"PC1" "" "" "PC1" "" "crystal types3"
"PC2" "" "" "PC25" "" "crystal types4"
"" "" "" "" "" "crystal types5"
"" "" "" "" "" "crystal types6"
2.85 2.8 2.85 3.0 3.0 "deadtime in microseconds"
150. 150. 140. 150. 140. "off-peak size, (hilimit - lolimit)/off-peak size"
80. 80. 70. 80. 70. "wavescan size, (hilimit - lolimit)/wavescan size"
This line 13 contains the default dead time constants for all Bragg crystals on each WDS spectrometer. The values on this line will be utilized for all crystals on each spectrometer (see below for more on this).
So begin by entering a default dead time constant in microseconds (usec) for each spectrometer on line 13 using your text editor as determined from your constant k-ratio tests. If you have values for more than one Bragg crystal just choose one and proceed below.
And if you have dead time constants for more than a single Bragg crystal per spectrometer, you can also edit lines 72 to 77 for each Bragg crystal on each spectrometer (though only up to 4 crystals are usually found in JEOL and Cameca microprobes).
Each subsequent line corresponds to each Bragg crystal listed above on lines 7 to 12. Here is an example with the edited dead time constant values highlighted in red:
1 1 1 1 1 "default PHA inte/diff modes1"
1 1 1 1 1 "default PHA inte/diff modes2"
1 0 0 1 0 "default PHA inte/diff modes3"
1 0 0 1 0 "default PHA inte/diff modes4"
0 0 0 0 0 "default PHA inte/diff modes5"
0 0 0 0 0 "default PHA inte/diff modes6"
2.8 3.1 2.85 3.1 3.0 "default detector deadtimes1"
2.85 2.8 2.80 3.0 3.0 "default detector deadtimes2"
3.0 0 0 3.1 0 "default detector deadtimes3"
3.1 0 0 3.2 0 "default detector deadtimes4"
0 0 0 0 0 "default detector deadtimes5"
0 0 0 0 0 "default detector deadtimes6"
0 1 1 0 0 "Cameca large area crystal flag1"
0 1 1 0 0 "Cameca large area crystal flag2"
0 0 0 0 0 "Cameca large area crystal flag3"
0 0 0 0 0 "Cameca large area crystal flag4"
0 0 0 0 0 "Cameca large area crystal flag5"
0 0 0 0 0 "Cameca large area crystal flag6"
These dead time constant values on lines 72 to 75 will “over ride” the values defined on line 13 if they are non-zero.
For new probe runs, the PFE software will automatically utilizes these dead time values from the SCALERS.DAT file, but what about re-processing data from older runs? How can they can utilize these new dead time constants (and expressions)?
For example, once you have properly calibrated all your dead time constants using the new constant k-ratio method (as described in the attached document), and would like to apply these new values to an old run, you can utilize this new feature to easily update all your samples in a single run as described in this link:
https://probesoftware.com/smf/index.php?topic=40.msg10968#msg10968In addition, it should be noted that since Probe for EPMA saves the dead time constant for each element separately (see the Elements/Cations dialog), when an element setup is saved to the element setup database as seen here:

This means that one can have different dead time constants for each element/xray/spectro/crystal combination. So when browsing for an already tuned up element setup, the dead time constant for that element, emission line, spectrometer, crystal, etc. is automatically loaded into the current run. That is also true when loading a sample setup from another probe run. All of this information is loaded automatically automatically and can of course be easily updated if desired.
Now that said, the dead time correction expression type (traditional/Willis/six term/log) is only loaded when loading a file setup from another run. And in fact Probe for EPMA will prompt the user when the user loads an older probe file setup, and finds that newer dead time constants (or expression type) are available as seen here:

This feature prevents the user from accidentally using an out of date dead time constants for acquiring new data.
So in summary, there are many ways to insure that the user can save, recall and utilize these new dead time constants once the SCALERS.DAT file is edited for the new dead time (parametric) constant values.
Bottom line: edit your dead time correction type parameter in your Probewin.ini file to 4 for using the logarithmic expression as shown here:
[software]
DeadtimeCorrectionType=4 ; 1 = normal, 2 = high precision deadtime correction, 3 = super high precision, 4 = log expression (Moy)
Then run some constant k-ratio tests, on say Ti metal and TiO2.
You will probably notice that most spectrometers with normal sized crystals will yield roughly the same dead time constant, but that your dead time constants on your large area crystals may need to be reduced by 0.02 or 0.04 usec or so (probably more like 0.1 or 0.2 usec less for Cameca instruments) in order to perform quantitative analysis at count rates over 50K cps.
