Guide · XRD Rietveld refinement · Quick start

Rietveld refinement in 5 minutes

From a powder pattern and a CIF per phase to phase fractions and refined lattice parameters, in five steps. Follow them first on the built-in sample, a mixture of anatase and rutile, then on your own data.

ScienLytic ·

Contents
  1. 1. Load the pattern and the CIFs
  2. 2. Press Auto refine
  3. 3. Judge the fit
  4. 4. Read the results
  5. 5. Export
  6. Next

What you need

  • A powder XRD pattern, as the diffractometer wrote it: two-column text (.xy, .xye, .dat, .txt, .csv, including the PANalytical CSV export), PANalytical .xrdml, Bruker .brml or .raw (RAW1.01, RAW2, RAW4), Rigaku .ras or .raw, or GSAS .fxye, .gsa, .xra. Raw counts, not a smoothed or background-subtracted curve.
  • One CIF for every phase you expect in the sample. Not sure which phases are there? Run phase identification first: it finds them and hands them over.
  • About five minutes. No installation and no account: the sample is always free to try.

Why refine here instead of in GSAS-II by hand

  • One click refines the whole pattern: Auto refine releases the parameters in the classic order and keeps a step only when the fit gets better and every value stays physical.
  • Nothing to install or learn: every step says what it does and what a good result looks like; a poor fit is diagnosed in words.
  • Nothing is overwritten: every run is saved; view any of them or roll back to before any step.
  • The same results as GSAS-II: it is the calculation engine, unmodified; export the .gpx and open it in GSAS-II to see the same model and numbers.
  • Complex samples keep full control: Expert mode has every parameter, fixed values, ranges, formulas, a known composition, dopant and vacancy models. More

1. Load the pattern and the CIFs

Open the XRD refinement tool and press Try with sample data in the left column, or drop your own pattern and CIFs onto Drop files here. Each CIF becomes one phase under Phases; the arrows change their order and × removes one.

The sample loaded: the pattern in the middle, its two phases on the left, the first step's checks on the right.The sample loaded: the pattern in the middle, its two phases on the left, the first step's checks on the right.
Figure 1. The sample loaded: the pattern in the middle, its two phases on the left, the first step's checks on the right.

On the right, check the pattern, the phases and the Radiation. A laboratory copper tube (Cu Kα1+2) is assumed when the file does not say. Then press Files look right, start →.

2. Press Auto refine

Press Auto refine and confirm with Run all steps. Auto refine releases the parameters in the order an experienced user would: background, scale and zero shift; lattice parameters; peak shape; peak asymmetry; atom positions; atomic displacement (Uiso). A step is kept only when the fit gets better and the values stay physical.

The Auto refine dialog. The defaults suit most patterns; just press Run all steps.The Auto refine dialog. The defaults suit most patterns; just press Run all steps.
Figure 2. The Auto refine dialog. The defaults suit most patterns; just press Run all steps.

On the sample this takes well under a minute. Every step appears in the run list as it finishes, marked accepted or discarded.

3. Judge the fit

The finished refinement: calculated pattern over the measured one, the difference curve below, every run in the list, the numbers on the right.The finished refinement: calculated pattern over the measured one, the difference curve below, every run in the list, the numbers on the right.
Figure 3. The finished refinement: calculated pattern over the measured one, the difference curve below, every run in the list, the numbers on the right.

Three things tell you whether the fit is good:

  1. The difference curve (blue, under the plot) is flat, with no peak-shaped wiggles. A wiggle at a peak position means something about that peak is not modelled.
  2. Rwp is close to the Lowest possible Rwp. That value is set by the counting noise of your data; no refinement can go below it. On the sample: 7.68 % against about 7.3 %.
  3. GOF is close to 1. On the sample: 1.05.
Rwp next to the lowest possible Rwp, and GOF.Rwp next to the lowest possible Rwp, and GOF.
Figure 4. Rwp next to the lowest possible Rwp, and GOF.

If the fit is poor, the tool says why in words under Results (for example a missing phase, texture or a peak no phase explains). Press Explain this result for a plain-language reading of the numbers on screen.

4. Read the results

Open Results for the weight fraction of each crystalline phase, its refined cell, crystallite size and microstrain, then the bond lengths and angles. On the sample: anatase 64.9 wt %, rutile 35.1 wt %.

5. Export

Under Export, tick what you need and press Export selected: the fit plot, the fit curve and the tables as CSV, the refined CIFs and the GSAS-II project (.gpx) to continue in GSAS-II. Open in Plot turns the fit into a journal figure for free; from Plot, Open in Origin (.slplot) gives a file that Origin (2021 or later, with the free ScienLytic app for Origin) opens as an editable Origin graph with its data, almost identical to the figure in Plot.

The export list.The export list.
Figure 5. The export list.

On your own data the fit, Rwp, GOF and the plot are always shown. The refined numbers and the files are unlocked per dataset; the sample is always unlocked.

Next

The complete guide explains each step and how Auto refine decides, several phases together or one after the other, texture, size and microstrain models, dopant and vacancy models, fixed values, ranges and formulas, a known composition, the amorphous content, and the most common mistakes.

Open the XRD tool with the sample