twoBeam step by step
Here is a list of several steps you typically need to go through with twoBeamGUI (see below) if you are after some more or less reliable results.
1 - Open input image
In order to demonstrate how twoBeamGUI operates, a sample image is provided and loaded by default. This allows you to just press Launch all (described below) and see the correct results in a moment. Your own diffractograms can be loaded using the Browse button in the Image panel or via the menu File / Open image. Either way leads to a dialog box (see aside).
(2 - Optional: Set image resolution)
If the image contains metadata with the image resolution, it is loaded and can be seen in the Image panel. Otherwise, you have to specify the resolution manually.
You can let twoBeamGUI to parse scalebars burnt into the image via Tools / Detect scalebar. If the scalebar is read successfully, resolution is calculated and after you check it, it can be applied. If there is a conflict between the scalebar resolution and the value stated previously in the GUI, you will be notified and given a choice of whether to use one or another.
Note: The scalebar should be eliminated if it might mislead the circle detector from the transmitted or diffracted disk. One of the ways how to eliminate it is to perform the scalebar detection even though the resolution is known from the metadata.
3 - Select sample material
The sample material can be changed at any time during the analysis. Details about material database and selection can be found here.
4 - Launch all
The whole analysis can be launched at once using the Launch all button. The individual procedure steps represented by the buttons below are then carried out consecutively. After the whole procedure has been finished successfully, the final results are presented. Each step can be re-launched at any time by pressing respective button below the Launch all button. Partial results of individual steps can be shown via corresponding Show buttons aside. It is advisable to check the partial results to verify relevance of the final findings. Below, the individual steps and expected results are discussed in detail.
4a - Detect disks
To localize the depicted disks, press the button Detect disks. The tool should automatically determine the diameter and position of two disks. If the detections represented by green circles are misplaced, press Adjust disks manually and adjust disk positions manually using the GUI (see aside).
Check: Press the Show button next to Detect disks to check position and radius of the detected disks. Also check the Estimated reflection and Estimated extinction distancein the Info panel. If they are obviously incorrect, set the correct extinction distance using the Extinction dist. edit field in the Parameters tab.
4b - Get profile
Consequently, the disks content can be cropped out, and a profile across the transmitted and diffracted disk can be measured using the button Get profile.
Check: Press the Show button next to Get profile to check the disks are localized well and profiles are measured correctly.
4c - Thickness estimation
Now the thickness can be estimated using controls in the tab Thickness estim. 1. After pressing the button Estimate thickness the measured profile across the diffracted disk is compared with the theoretical profiles corresponding to the thicknesses specified in the Thick. range edit fileld. By default, the examined thicknesses ranges from 1 to 400 with a step of 2 (which leads to 1, 3, 5... 395, 397, 399 nm). For each theoretical profile a similarity to the measured profile is calculated and all those similarity measures are plotted as a function of thickness (see aside). Initially, a cursor (the black vertical line) is positioned at the thickness of the highest similarity with corresponding thickness value being stated above the plot. In the input image, you can see the diffracted disk (see aside) together with the measured intensity profile (in blue) and the theoretical profile corresponding to the cursor thickness (in green). The cursor can be moved along the thickness range, allowing the user to inspect how the two profiles match for various thicknesses.
Check: Check how the measured (blue) and theoretical (green) profiles agree for the estimated thickness. Move the cursor to inspect how the profiles match for two or three other high peaks to make sure the thickness estimate is sound.