Author Topic: New Features/Improvements in Standard/CalcZAF  (Read 7361 times)

John Donovan

  • Administrator
  • Emeritus
  • *****
  • Posts: 2424
  • Other duties as assigned...
    • Probe Software
Re: New Features/Improvements in Standard/CalcZAF
« Reply #15 on: June 02, 2017, 08:37:46 am »
A point worth considering is that almost none of the macs we use were actually measured, they are fitted values. So the "range" of applicability does not exist. Equally, low kV analysis is a regime for which the correction algorithms were not developed but that does not prohibit their use, and indeed the phi-rho-z algorithm works well with most attention on the accuracy of mac values at low kV.

Paul

Hi Paul,
Yes, with the welcome exception of the empirical MAC measurements for low energy x-rays by Pouchou and Bastin, etc., whose use in CalcZAF is discussed here:

http://probesoftware.com/smf/index.php?topic=890.msg5699#msg5699

Fortunately, as you mentioned, the rest of the periodic table (except for some emission energies near some absorption edges), typically has significantly smaller MACs for most other emission lines.

So have you ever come across any x-ray measurements at beam energies above 50 keV?
john
« Last Edit: June 02, 2017, 08:58:49 am by John Donovan »
John J. Donovan, Pres. 
(541) 343-3400

"Not Absolutely Certain, Yet Reliable"

Paul Carpenter

  • Global Moderator
  • Professor
  • *****
  • Posts: 41
    • Washington University Analytical Facilities
Re: New Features/Improvements in Standard/CalcZAF
« Reply #16 on: June 16, 2017, 12:41:25 pm »
Just following up on the Quantitative Microanalysis using WDS and EDS course at Lehigh Microscopy School this year 2017. We use CalcZAF for discussion and demonstration of the correction parameters for both bulk and particle analysis. The entry formats for formula, weight percent, and standard database are excellent ways to conveniently enter compositions to then show correction parameters for various compounds.

We also use the CalcZAF input file to show how one can walk through the measured k-ratios for the Cu-Au as well as Si-Ir measurements discussed in the course.

The comparison of mac values from the different data sets is very useful as well.

Finally, the log window output includes the mac value for the sample, f-of-chi (i.e., f(x)), and the components of the ZAF correction. We also compare C with calculated k as an interpretation of the ZAF factor. The "use all correction algorithms" checkbox is used to effectively summarize the two measurements for the Si-Ir alloy that clearly shows the need to have a standard similar to the sample for accurate quantitative analysis. It is probably the most important demonstration in the course, and is important for both general microanalysis and those who use standardless EDS.

When I talk about software tools for the microanalyst, I usually discuss Casino, then CalcZAF, then DTSA-II, GMRfilm, and finally Penelope. These are all excellent tools that can be used to quickly highlight problems and solutions in EPMA.

Cheers,

Paul Carpenter
Paul Carpenter
Washington University St. Louis

Probeman

  • Emeritus
  • *****
  • Posts: 1874
  • Never sleeps...
    • John Donovan
Re: New Features/Improvements in Standard/CalcZAF
« Reply #17 on: June 16, 2017, 01:12:57 pm »
When I talk about software tools for the microanalyst, I usually discuss Casino, then CalcZAF, then DTSA-II, GMRfilm, and finally Penelope. These are all excellent tools that can be used to quickly highlight problems and solutions in EPMA.

Hi Paul,
Glad to hear Lehigh went well this year with two concurrent probe sessions (one local and one remote)!   

Also it's good to know what free, downloadable applications are most useful for the community. If you have any additional comments you want to add about available EPMA/SEM applications please feel free to add your thoughts here also:

http://probesoftware.com/smf/index.php?topic=927.0

I think you had mentioned some ImageJ or Matlab? image processing scripts or macros at EMAS that you have found useful?
john
The only stupid question is the one not asked!

John Donovan

  • Administrator
  • Emeritus
  • *****
  • Posts: 2424
  • Other duties as assigned...
    • Probe Software
Re: New Features/Improvements in Standard/CalcZAF
« Reply #18 on: August 24, 2018, 05:13:25 pm »
We just realized today that when the web site switched over to https for secure connections, the Help | Update CalcZAF code in CalcZAF will no longer work for automatic updating from the application.  So, just as was the case for Probe for EPMA, one has to manually download the latest CalcZAF installer from this link:

https://probesoftware.com/download/CalcZAF.msi

Then run the installer once to get the new https: compatible secure download version.  After this, one can again simply use the Help | Update CalcZAF menu to update the application as usual.

In addition, we also realized that the "Interactive Help" buttons as described here by Karsten Goemann:

https://probesoftware.com/smf/index.php?topic=67.0

were also broken by the new https:// secure connection, so updating CalcZAF to the latest version (12.4.5) will fix all these button links. 

Again, if you have Probe for EPMA you can update both CalcZAF and Standard simply using the Help | Update Probe for EPMA menu in PFE (if you've already updated to the "secure download" version of PFE).

Please let us know if you have any questions at all about this process.
John J. Donovan, Pres. 
(541) 343-3400

"Not Absolutely Certain, Yet Reliable"

John Donovan

  • Administrator
  • Emeritus
  • *****
  • Posts: 2424
  • Other duties as assigned...
    • Probe Software
Re: New Features/Improvements in Standard/CalcZAF
« Reply #19 on: October 25, 2018, 02:23:56 pm »
Recently Ben Hanson at Corning Glass asked why the MACJTA.DAT mass absorption coefficients table did not contain MACs for emitters less than 1 keV. Armstrong's tabulated values which are found in the MACMATK.DAT, MACMATL.DAT and MACMATM.DAT text files show that he tabulated emitters down to boron.

The MACJTA.DAT binary file that I generated in 2008 does not contain emitters of energy less than 1 keV which was because there was a line of code from the McMaster MAC fit code that I did not modify when I added Armstrong's FRAME equations.

So I changed the code to only skip emission lines with energies less than 0.1 keV when calculating MACs using Armstrong's FRAME equations, which subsequently allows Ka emitters down to boron.

I really don't think any one should be using MACs generated using the FRAME fit equations. My impression is that the default MAC table (LINEMU.DAT) is more than adequate, unless one is quantifying very low energy emission lines, in which case one should really be utilizing empirically measured MACs as listed in the Empirical MACs menu in CalcZAF and Probe for EPMA.

In any case, I've attached the newly generated MACJTA.DAT binary file below (remember to login to see attachments), and if you want, this new file should be copied to your C:\ProgramData\Probe Software\Probe for EPMA folder.  Note that the ProgramData folder is hidden by default in Windows, so you'll need to "unhide" it using the Folder Options in Windows Explorer if it is not visible on your computer.

But just for general interest here is a comparison of some emitter - absorber pairs as generated from CalcZAF (from the X-ray menu) using the new MACJTA.DAT file attached below:

MAC value for O Ka in Si =    8155.72  (LINEMU   Henke (LBL, 1985) < 10KeV / CITZMU > 10KeV)
MAC value for O Ka in Si =    8790.00  (CITZMU   Heinrich (1966) and Henke and Ebisu (1974))
MAC value for O Ka in Si =        .00  (MCMASTER McMaster (LLL, 1969) (modified by Rivers))
MAC value for O Ka in Si =    8063.47  (MAC30    Heinrich (Fit to Goldstein tables, 1987))
MAC value for O Ka in Si =    8669.79  (MACJTA   Armstrong (FRAME equations, 1992))
MAC value for O Ka in Si =    7544.10  (FFAST    Chantler (NIST v 2.1, 2005))
MAC value for O Ka in Si =    8790.00  (USERMAC  User Defined MAC Table)

Note that the McMaster value is zero because those equations are only designed for photons greater than 1 keV.

MAC value for Mg ka in Fe =    5239.40  (LINEMU   Henke (LBL, 1985) < 10KeV / CITZMU > 10KeV)
MAC value for Mg ka in Fe =    6120.70  (CITZMU   Heinrich (1966) and Henke and Ebisu (1974))
MAC value for Mg ka in Fe =    5395.10  (MCMASTER McMaster (LLL, 1969) (modified by Rivers))
MAC value for Mg ka in Fe =    5518.65  (MAC30    Heinrich (Fit to Goldstein tables, 1987))
MAC value for Mg ka in Fe =    6089.59  (MACJTA   Armstrong (FRAME equations, 1992))
MAC value for Mg ka in Fe =    5089.56  (FFAST    Chantler (NIST v 2.1, 2005))
MAC value for Mg ka in Fe =    5522.00  (USERMAC  User Defined MAC Table)

By the way, I do not know why the MAC values generated from Armstrong's FRAME equations are slightly different from his tabulated values (in CITZMU.DAT).

MAC value for Na Ka in Mg =     814.41  (LINEMU   Henke (LBL, 1985) < 10KeV / CITZMU > 10KeV)
MAC value for Na Ka in Mg =     770.10  (CITZMU   Heinrich (1966) and Henke and Ebisu (1974))
MAC value for Na Ka in Mg =     884.35  (MCMASTER McMaster (LLL, 1969) (modified by Rivers))
MAC value for Na Ka in Mg =     811.13  (MAC30    Heinrich (Fit to Goldstein tables, 1987))
MAC value for Na Ka in Mg =     783.81  (MACJTA   Armstrong (FRAME equations, 1992))
MAC value for Na Ka in Mg =     746.84  (FFAST    Chantler (NIST v 2.1, 2005))
MAC value for Na Ka in Mg =     810.00  (USERMAC  User Defined MAC Table)

But here is where the "wheels come off" for the FRAME equations (apparently the FRAME equations from Armstrong were subsequently improved by Armstrong in his MACMAT*.DAT files tabulation):

MAC value for C ka in Ag =    8178.73  (LINEMU   Henke (LBL, 1985) < 10KeV / CITZMU > 10KeV)
MAC value for C ka in Ag =    5507.00  (CITZMU   Heinrich (1966) and Henke and Ebisu (1974))
MAC value for C ka in Ag =        .00  (MCMASTER McMaster (LLL, 1969) (modified by Rivers))
MAC value for C ka in Ag =    5545.52  (MAC30    Heinrich (Fit to Goldstein tables, 1987))
MAC value for C ka in Ag =   43402.74  (MACJTA   Armstrong (FRAME equations, 1992))
MAC value for C ka in Ag =    5809.43  (FFAST    Chantler (NIST v 2.1, 2005))
MAC value for C ka in Ag =    8190.00  (USERMAC  User Defined MAC Table)

Again I suggest staying with the default (LINEMU.DAT) values from Henke for most work.
« Last Edit: October 25, 2018, 11:05:20 pm by John Donovan »
John J. Donovan, Pres. 
(541) 343-3400

"Not Absolutely Certain, Yet Reliable"

John Donovan

  • Administrator
  • Emeritus
  • *****
  • Posts: 2424
  • Other duties as assigned...
    • Probe Software
Re: New Features/Improvements in Standard/CalcZAF
« Reply #20 on: April 11, 2019, 03:57:57 pm »
Philipp Poeml recently pointed out to us that an error is given in CalcZAF when attempting to edit the "additional" x-ray line energies in the default x-ray line database.  This has now been fixed and is ready for updating.

Update CalcZAF by simply using the Help | Update CalcZAF menu. If you have Probe for EPMA, simply use the Help | Update Probe for EPMA menu, and all will be automatically updated.

This error occurred only when editing the default x-ray line and/or the default x-ray fluorescent yield databases using these menus in CalcZAF:



*and* when the x-ray line being edited was one of the "additional" x-ray lines, e.g., Ln, Lg, Lv, Ll, Mg, or Mz emission lines.

The quantification of these "additional" x-ray lines was working fine, just the edit code was not quite right.  Anyway, all fixed now!   ;D
John J. Donovan, Pres. 
(541) 343-3400

"Not Absolutely Certain, Yet Reliable"