documentation:tutorial
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
documentation:tutorial [2013/04/03 22:21] – external edit 127.0.0.1 | documentation:tutorial [2015/09/09 09:43] (current) – macke | ||
---|---|---|---|
Line 41: | Line 41: | ||
- set "qz max" to 0.6. If the edit field is disabled click the checkbox "use dataset x-range for simulation" | - set "qz max" to 0.6. If the edit field is disabled click the checkbox "use dataset x-range for simulation" | ||
- number of points should be set to 300. If the edit field is disabled go to the tab datasets and disable the checkbox "use measurement x-range for simulation" | - number of points should be set to 300. If the edit field is disabled go to the tab datasets and disable the checkbox "use measurement x-range for simulation" | ||
- | - The " | + | - The " |
* simulation parameters | * simulation parameters | ||
Line 72: | Line 72: | ||
Change Mode to monochromatic and press button " | Change Mode to monochromatic and press button " | ||
- | Play around with the values in the layers tables and see how the curve changes. An easy method to do this is by clicking on a table entry one time and then use the scrollbar below the table to change that value. This is a very usefull | + | Play around with the values in the layers tables and see how the curve changes. An easy method to do this is by clicking on a table entry one time and then use the scrollbar below the table to change that value. This is a very useful |
==== Retrieving the refractive index ==== | ==== Retrieving the refractive index ==== | ||
- | As for now the simulation uses not the real refractive indices. Off-resonance scattering factors are tabulated for each element. With these factors the refractive index can be calculated. The program dbEditor and the X-ray database website provided in the links section on this webpage is capable to build compatible tables. In both cases the chemical formulas of each compound (of each layer) and the density are required. The " | + | As for now the simulation uses not the real refractive indices. Off-resonance scattering factors are tabulated for each element. With these factors the refractive index can be calculated. The X-ray database website provided in the links section on this webpage is capable to build compatible tables. In both cases the chemical formulas of each compound (of each layer) and the density are required. The " |
- | The created tables | + | The created tables |
- | The refractive indices are loaded by right clicking on the layer table and then clicking on "Get delta/beta from database" | + | The refractive indices |
- | The columns delta and beta are changed automatically to the correct values of the incident beam energy of 1000eV. | + | |
The table should look like: | The table should look like: | ||
Line 93: | Line 92: | ||
==== Prepare measurement data ==== | ==== Prepare measurement data ==== | ||
- | So far we have done some simulation of reflectivity curves. To fit some measurements one has prepare the measurements to load into ReMagX. ReMagX needs the data in text format | + | So far we have done some simulation of reflectivity curves. To fit some measurements one has prepare the measurements to load into ReMagX. ReMagX needs the data in a column |
- | For standard reflectivity (const-energy) scans one has to provide two columns: the momentum transfer qz and the reflected intensity R0. | + | For standard reflectivity (const-energy) scans one has to provide two columns: the momentum transfer qz (in units 1/A) and the reflected intensity R0. |
==== Load Datasets ==== | ==== Load Datasets ==== | ||
Line 116: | Line 115: | ||
- Type, File, and Datapoints cannot be changed. | - Type, File, and Datapoints cannot be changed. | ||
- | Double click on the dataset again to activate the changes for this measurement. You should see in the tab for example | + | Double click on the dataset again to activate the changes for this measurement. You should see in the tab for example " |
- | " | + | |
Load the new optical constants for this energy as we did before. Now you can start the reflectivity simulation by clicking on " | Load the new optical constants for this energy as we did before. Now you can start the reflectivity simulation by clicking on " | ||
Line 125: | Line 123: | ||
==== Prepare for fitting ==== | ==== Prepare for fitting ==== | ||
- | The first step should be a manual coarse fitting of the curve as the fitting algorithms are not as good as humans to | + | The first step should be a manual coarse fitting of the curve as the fitting algorithms are not as good as humans to determine the structure of curve. Especially the thicknesses should be set to a more reliable |
- | determine the structure of curve. Especially the thicknesses should be set to more reliable | + | |
- | Very close to the initial values a much better fit of the thickness fringes can be achieved by setting layer 1 to 150A and both roughnesses to 3 Angstrom. | + | Very close to the initial values a much better fit of the thickness fringes can be achieved by setting layer 1 to a thickness of 150A and both roughnesses to 3 Angstrom. |
==== Fitting a reflectivity curve ==== | ==== Fitting a reflectivity curve ==== | ||
Line 135: | Line 132: | ||
So right click on the thickness cell and click on fit. Do the same for the roughness of the substrate and of the film. The cells should be marked red. Additionally we want to fit the scaling factor of the measurement. Go to the tab " | So right click on the thickness cell and click on fit. Do the same for the roughness of the substrate and of the film. The cells should be marked red. Additionally we want to fit the scaling factor of the measurement. Go to the tab " | ||
- | In the " | + | In the " |
- | In the following | + | |
- | As the last parameters | + | The last paremter we should set is the qz-window in which the error function is calculated (chi-square). This can be done in the tab " |
- | In the tab " | + | In the tab " |
The current state you can find in Tut3.all | The current state you can find in Tut3.all | ||
In the last step the fit can be started in the tab " | In the last step the fit can be started in the tab " | ||
- | The result is plotted during | + | The result is plotted during |
documentation/tutorial.1365027664.txt.gz · Last modified: 2015/09/09 09:43 (external edit)