X-Ray Calc calculates every layer from a table of its material. The fit changes a layer’s thickness, roughness and density. It never changes the table. A wrong table gives a wrong structure. No message says so. This appendix describes the tables and how to check and add one. Chapter 4: Where δ and β come from explains the physics.
What a Henke table holds
X-Ray Calc stores one table for each material, as a file <Name>.bin in the Henke folder. The folder is set under Paths and Files in File > Settings …, in the field Henke library. A table holds:
- the atomic scattering factors f₁ and f₂ against the photon energy E;
- the molar mass A;
- the bulk density, in g/cm³.
The element tables come from Henke, Gullikson and Davis (1993). They give f₁ and f₂ for 92 elements from 50 to 30,000 eV. They smooth over the fine structure close to an absorption edge, so a value near an edge can be wrong. A compound, such as SiO2, B4C or CoC, has a table of its own.
From the table to δ and β
For a layer of density ρ, at the wavelength λ, the program computes
with ρ in g/cm³, λ in Å and C = 0.54014 × 10⁻⁵. C is in these units. The program converts λ to the energy, E = 12398.6/λ eV. It reads f₁ and f₂ by linear interpolation between the two nearest rows of the table.
Three consequences follow for a fit:
- δ is proportional to ρ. The fit reaches δ only through the density. Any error in f₁ or A appears as an error in the fitted density (Chapter 20: A free parameter, not a result).
- δ grows with λ². A wrong wavelength gives a wrong δ in every layer (Chapter 10: The wavelength comes from the file).
- δ/β is f₁/f₂. It does not depend on the density.
Density 0
A layer with ρ = 0 is calculated with the bulk density of its table. The same holds for the substrate. The bulk density is also the density ceiling that Initialize gives to a density limit (Chapter 15: The density ceiling). A wrong bulk density enters both the calculation and the limits.
Checking a table
Check the table of every material before its first fit:
- Choose Tools > Edit Henke table… and select the material.
- Read the bulk density in the field ρ (g/cm³) and the molar mass in A (g/mol). Versions before 3.9.4 label the molar mass N (a.u.).
- Compare the bulk density with the density of your material.
Three cases from this book show what to look for (Chapter 20: Check the table):
SiO2holds crystalline quartz, 2.65 g/cm³. Fused silica and glass are less dense. A glass substrate left at ρ = 0 is calculated as quartz (Chapter 12: The substrate).B4Cwas held at 2.37 g/cm³ in an earlier table, with no source. One laboratory’s record gives 2.52 g/cm³, which the table of X-Ray Calc 3.9.4.1030 holds.- A compound such as
CoChas its own bulk density, 6.2 g/cm³. That value sets its density ceiling.
Adding a material
A material with no table can be made from elements or existing materials:
- Choose Tools > Create new material …. The New Material dialog opens.
- Set Number of elements: to the number of components.
- In the table, enter each component under Element, or pick it with the … button. A component can be an element or an existing material.
- Enter the concentration of each component under Conc. at%, in atomic per cent. The concentrations must add up to 100.
- Type the Name of the new material and its Density in g/cm³.
- Click Save.
The program writes <Name>.bin into the Henke folder. It averages f₁, f₂ and the molar mass over the components per atom, weighted by the atomic fractions, on the energy grid of the first component. The other components are interpolated onto that grid. The density you entered becomes the bulk density of the new table. When the concentrations do not add up to 100, the dialog refuses to save. When a material of that name exists, it asks before replacing it.
The new material is then used like any other: type its name into a layer’s material field.
Sources
- X-Ray Calc Help: Tools → Create new material (the components in atomic per cent adding to 100, the file written, f averaged per atom on the energy grid of the first component, the entered density as the bulk density) and Edit Henke Table (what a table holds; the λ column as 12398.6/E; the per-formula-unit note on the molar mass, paraphrased); Models → Density 0.
- The X-Ray Calc 3 source: the New Material dialog and its labels, the check of the sum (“The concentrations add up to %g at.%, not 100.”), the confirmation before replacing a table, and the file written into the Henke folder (
XRayCalc3\Forms\frm_NewMaterial.dfm,.pas); the molar mass averaged with the atomic fractions and the other components read at the first component’s energies (frm_NewMaterial.pas,NewElement); the Henke library field under Paths and Files in the settings (Forms\frm_settings.dfm, release 3.9.4.1250); the constant C and the interpolation linear in E (Shared\Math\unit_materials.pas); hc = 12398.6 eV·Å (Shared\Math\math_globals.pas). - Henke, Gullikson & Davis (1993), Atomic Data and Nuclear Data Tables 54, 181–342: the element tables, 92 elements, 50–30,000 eV, as described in Chapter 4.
- This book: the three table cases of Chapter 20; the formula and the constant of Chapter 4.
Cross-references: Chapter 4: Where δ and β come from; Chapter 12: The substrate; Chapter 15: The density ceiling; Chapter 20: Check the table; Chapter 26: The materials.