Mastering XRR Fitting|Home/Appendix B: Menus, Buttons and Keys

Appendices · Appendix B

Menus, Buttons and Keys

In This Chapter

  • The menu commands the book uses
  • The buttons and the fields, with their defaults
  • The keys

This appendix lists the commands, buttons, fields and keys that the book uses, with the section that explains each. The labels are those of the X-Ray Calc build that the chapters describe. Commands the book does not use are left out.

The menus

File

Table B-1: The File menu.

CommandWhat it doesKeyExplained in
Open project …Opens a project, a .xrcx file.F3Chapter 2: Opening a demo project
Save projectSaves the project: the structure with its limits and flags, the settings, the prepared data and the record of the last fit.Ctrl+SChapter 23: What the program keeps, and what it doesn’t
Save project As …Saves the project under a new name. The book keeps one project for each run.F2Chapter 23: Keeping the files
Settings …The program settings: the graphics card, the processor cores, automatic saving and the folders.Chapter 8: How many points

Project

Table B-2: The Project menu.

CommandWhat it doesKeyExplained in
Duplicate ModelCopies the active model, to try a change or to keep the model from before a run.Chapter 16: Several runs, and their spread

Structure

Table B-3: The Structure menu.

CommandWhat it doesKeyExplained in
Add StackAdds a stack at the bottom, above the substrate, and opens Stack properties.Chapter 12: The periodic stack
Insert StackAdds a stack above the selected one, as for the contamination layer.Chapter 12: The top of the stack: contamination layer and cap
Add LayerAdds a layer at the bottom of the selected stack and opens Layer properties.Chapter 12: The periodic stack
Edit as text …Shows the model as text, in which values and limits can be typed.Chapter 12: The model as text
Import structure …Reads a model from a .json file into a new model.Chapter 12: The model as text
UndoTakes back the last change of the structure. It does not undo a change of the data.Ctrl+ZChapter 12: The model as text

Data

Table B-4: The Data menu.

CommandWhat it doesKeyExplained in
Load …Loads a measured curve from an .xrdml or a text file.Chapter 10: Two ways in: an .xrdml file or a text file
From clipboardPastes a measured curve of two columns from the clipboard.Chapter 10: Two ways in: an .xrdml file or a text file
Normalize …Divides the measured curve by a coefficient you enter.Chapter 14: Setting the scale: Normalize (Auto)
Normalize (Auto)Scales the measured curve to the model at its largest value below θ = 0.5°.Chapter 14: Setting the scale: Normalize (Auto)
SmoothReplaces each point by a six-point mean. The book leaves it off.Chapter 14: Why smoothing stays off
TrimDeletes the measured points outside θ1–θ2.Chapter 14: Trimming the data to the range
Assess XRR quality …Runs eight checks on the measurement.Chapter 10: Is this curve worth fitting

Calc

Table B-5: The Calc menu.

CommandWhat it doesKeyExplained in
RunCalculates the active model. The χ² appears in the Chart Info bar.F5Chapter 2: Your first calculation
Calc all modelsCalculates every model of the project.F6Chapter 13: Doing it in X-Ray Calc
Auto FittingOpens the Fitting Limits dialog. Its Run button starts the fit.F7Chapter 15: The Fitting Limits dialog
Resume FittingOpens the Fitting Limits dialog with Resume. The windows of the parameters that are not frozen move to the last result.Chapter 19: Fitting in stages

Result

Table B-6: The Result menu.

CommandWhat it doesKeyExplained in
Save as graphics …Saves a picture of the chart.Chapter 23: Keeping the files
Copy as BMPCopies a picture of the chart to the clipboard.Chapter 23: Keeping the files
Export fit results…Writes the record of the last fit as a .json file.Chapter 23: What the program keeps, and what it doesn’t
Fit report …Shows the checks of a fit: the orders, the edge, the fringes, the bands and the parameters near a limit.Chapter 18: Reading the checks in X-Ray Calc
Residual strip > ShowDraws log₁₀(calculated / measured) in a strip under the chart. The items ±0.1 lines, Band means and Floored points of the same submenu add the warning level, the mean of each band and the points on the floor. All four are on by default.Chapter 18: The residual by band

Tools

Table B-7: The Tools menu.

CommandWhat it doesKeyExplained in
Create new material …Makes the table of a new material from elements or existing materials.Appendix C: Adding a material
Edit Henke table…Shows the table of one material, with its bulk density and molar mass.Appendix C: Checking a table

Help

Table B-8: The Help menu.

CommandWhat it doesKeyExplained in
User ManualOpens the manual of the program.F1Introduction: Beyond the Book

Buttons and dialogs

Table B-9: Buttons and other controls.

ControlWhereWhat it doesExplained in
Limitsthe structure panelOpens the Fitting Limits dialog with Save.Chapter 15: The Fitting Limits dialog
the increment boxthe structure toolbarSets the step of the arrows beside each field.Chapter 13: Doing it in X-Ray Calc
the box after H, σ or ρeach layerHolds that parameter at one value in every period (Paired).Chapter 17: Two ways to describe a stack
Freeze stack, Thaw stackright-click on a stackFreezes or releases every parameter of the stack.Chapter 15: Freezing a parameter
Add extensionthe Project panel toolbarAdds an extension, such as a Function profile.Chapter 22: A gradient in Polynomial mode
the delete button, hint “Delete item”the Project panel toolbarDeletes the selected item of the project.Chapter 17: Reading a drift in X-Ray Calc
Calculate allthe chart toolbarCalculates every model, as Calc all models does.Chapter 13: Doing it in X-Ray Calc
Stopthe top of the chart, while a calculation or a fit runsEnds the calculation or the fit.Chapter 9: When the fit stops
Run, Resume, Savethe Fitting Limits dialogStarts the fit, resumes it, or saves the limits, depending on how the dialog was opened.Chapter 15: The Fitting Limits dialog
Initialize, Narrow, Widen, Fixthe Fitting Limits dialogSets the limits from the values and ΔH, Δσ, Δρ; narrows or widens them; repairs them.Chapter 15: Generous limits
Freeze, Thawthe Fitting Limits dialogHolds the selected parameters at their values, or releases them.Chapter 15: Freezing a parameter
Assess, Copy summarythe XRR quality window (Data > Assess XRR quality …)Runs the checks, and copies their text.Chapter 10: Is this curve worth fitting
Copy as textthe Fit report windowCopies the report as text.Chapter 18: Reading the checks in X-Ray Calc
Thickness, Densitythe pages under the chartDraw the thickness or the density of every layer, period by period.Chapter 17: Reading a drift in X-Ray Calc

The settings, with their defaults

The default is the value in a new project. A project stores its own settings, so a project you open can differ.

Table B-10: The fit settings.

FieldDefaultThis bookExplained in
Population1005000; 2000 for a single filmChapter 16: The settings, and the ones you change
Iterations100200Chapter 16: The settings, and the ones you change
ShaketickedtickedChapter 9: Shakes: leaving a valley
SeedRtickedtickedChapter 9: The swarm
ModeIrregularPeriodic, then PolynomialChapter 17: Two ways to describe a stack
Free period ±unticked, 10 %ticked, 10 %Chapter 17: Step 1: one period, with the period free
Order11, raised one step at a timeChapter 17: Raising the order
SmoothuntickedoffChapter 14: Why smoothing stays off
PW χ²tickedtickedChapter 9: What χ² measures
TW χ²NoneNoneChapter 9: What χ² measures
Solve scale in χ²tickedtickedChapter 14: Letting the fit solve the scale
Window0.20.2Chapter 14: Letting the fit solve the scale

Table B-11: The calculation settings and other fields.

FieldDefaultThis bookExplained in
2θtickedtickedChapter 2: 2θ or θ: the angle on your screen
λ(Å)1.54043 in a new projectfrom the .xrdml file, or typed inChapter 10: The wavelength comes from the file
Δθ0.015 in a new projectchosen by a scanChapter 16: Choosing Δθ by a scan
Polarizations-types-typeChapter 8: Polarization: s-type or sp-type
N (points)2000not used with a linked curveChapter 8: How many points
R min (Chart Info bar)10⁻⁷one count on the scaled curveChapter 14: The floor: one count
ΔH, Δσ, Δρ (Fitting Limits)0.250.25Chapter 15: Generous limits
Tolerance (Advanced fitting settings)0.0050.005Chapter 9: When the fit stops
Vmax, Ksxr (Advanced fitting settings)0.3, 0.20.3, 0.2Chapter 9: The swarm
Jmax, SHmax, k1, k2 (Advanced fitting settings)1, 3, 1.41, 1.41the defaultsChapter 9: Shakes: leaving a valley

Keys and the mouse

Table B-12: The keys of X-Ray Calc, read from the program.

KeyCommandExplained in
F1Help > User ManualIntroduction: Beyond the Book
F2File > Save project As …Chapter 23: Keeping the files
F3File > Open project …Chapter 2: Opening a demo project
Shift+F3Reopen (the Project panel button): reads the project again from its fileChapter 2: Opening a demo project
F5Calc > RunChapter 2: Your first calculation
F6Calc > Calc all modelsChapter 13: Doing it in X-Ray Calc
F7Calc > Auto FittingChapter 15: The Fitting Limits dialog
Ctrl+SFile > Save projectChapter 23: What the program keeps, and what it doesn’t
Ctrl+ZStructure > UndoChapter 12: The model as text
InsertStructure > Insert LayerChapter 12: The periodic stack
Ctrl+DeleteStructure > Delete (the selected layer)Chapter 12: The periodic stack
Ctrl+Shift+CStructure > Copy LayerChapter 12: The periodic stack
Ctrl+Shift+XStructure > Cut (the selected layer)Chapter 12: The periodic stack
Ctrl+Shift+VStructure > Paste (a layer)Chapter 12: The periodic stack

The mouse does the rest:

Sources

  • The X-Ray Calc 3 source: the menus and their actions, the captions and the keys (XRayCalc3\Forms\frm_Main.dfm, the TAction objects with their ShortCut values); the Stop button at the top of the chart, shown only while a calculation or a fit runs (XRayCalc3\Views\frame_ChartInfo.dfm, btnStop; frm_Main.pas); the delete button of the Project panel (XRayCalc3\Views\frame_ProjectPanel.dfm, hint “Delete item”); the Residual strip submenu (frm_Main.dfm, mnuResidual), its four items on by default (XRayCalc3\Units\unit_Config.pas); the defaults of a new project (XRayCalc3\Views\frame_CalcSettings.dfm). Release 3.9.4.1250. The labels and defaults are those the chapters give, each checked in the chapter linked.
  • X-Ray Calc Help: Quick Reference (the toolbars, and the keyboard shortcuts: the same fourteen keys as Table B-12).

Cross-references: Chapter 2: The main window; Chapter 16: The settings, and the ones you change; Appendix A: Notation and Units; Appendix D: Glossary.

Open the image file