Skip to content

Analysis

Fitting adjusts the parameters you choose to bring the calculated result closer to the measured data. Begin with a structural model and experiment that plausibly describe the measurement; fitting is not a substitute for checking those choices.

The shared Analysis chapter explains the scientific model; the steps below describe this interface.

Sidebar group Tab Experiment types
Parameters Main pd sc cwl tof neut xray
Minimizer Extra pd sc cwl tof neut xray Fitting
Fitting mode Extra pd sc cwl tof neut xray Fitting
Fitted reflections Extra sc cwl tof neut xray Fitting
Aliases Extra pd sc cwl tof neut xray
Constraints Extra pd sc cwl tof neut xray
Joint-fit weights Extra pd sc cwl tof neut xray Fitting Joint
Sequential fit Extra pd sc cwl tof neut xray Fitting Sequential Independent
Scan extraction rules Extra pd sc cwl tof neut xray Fitting Sequential Independent
Fit start values Extra pd sc cwl tof neut xray Fitting
Fit result Extra pd sc cwl tof neut xray Fitting
Experiment fit result Extra pd sc cwl tof neut xray Fitting
Structure fit result Extra pd sc cwl tof neut xray Fitting
Parameters shown Settings pd sc cwl tof neut xray Fitting
Pattern updates during a scan Settings pd sc cwl tof neut xray Fitting Sequential Independent
Performance Settings pd sc cwl tof neut xray Fitting Sequential Independent

Load or prepare the project

Open an existing project or an included example on Project. To analyse your own measurement, follow create a project.

On Structure, check symmetry, cell and atom sites. On Experiment, check the data, instrument, peak profile, background, excluded regions and linked structures.

Open or save the current project.

Open project…

Open or save the current project.

Save project as…

Compare the starting pattern

Look at peak positions, widths, intensities and the background before fitting. An incorrect wavelength or calibration can shift peaks; a missing phase can leave intensity the model cannot explain.

Inspect the experiment view here. Its content changes with the active page and selection.

Main workspace

Use the enabled Main, Extra, Text and Settings tabs to inspect and edit this page.

Sidebar

Choose free parameters

On Analysis, the parameter table lists every numerical input of the structures and experiments. Use the free column to choose which parameters may vary. When a fit cannot vary a value, its checkbox is disabled and hovering over it shows the reason. The name and variability filters help you find them.

A value cannot be fitted when it describes the setup, symmetry or a constraint sets it, the fit's data cannot determine it, or the calculation has no derivative for it yet. A value saved as free that cannot be fitted opens as fixed, and Messages says so. The minimum and maximum displayed in the table describe admissible model values; they are not a separate set of user-defined optimizer bounds.

Free parameters deliberately, checking the effect of each stage. Starting with every parameter free can hide an unsuitable model behind strongly correlated values.

Inspect the analysis view here. Its content changes with the active page and selection.

Main workspace

Use the enabled Main, Extra, Text and Settings tabs to inspect and edit this page.

Sidebar

Read project counts, messages, calculation and fitting state here.

Status bar

Select a fitting mode

The available mode depends on the project. One experiment is fitted on its own; several experiments can be fitted jointly. A scan can run sequentially or independently across its datasets. See fitting modes.

The available choices depend on the project.

Fitting mode

Start and inspect the fit

Press Fit at the right of the status bar. Review the calculated curve and residual as well as the reported agreement factors. Parameter uncertainties and correlations help you understand what the data constrain.

A small agreement factor alone does not establish that the structural model is correct. Inspect unmodelled features and physically implausible values before accepting the result.

Inspect the analysis view here. Its content changes with the active page and selection.

Main workspace

Use the enabled Main, Extra, Text and Settings tabs to inspect and edit this page.

Sidebar

Read project counts, messages, calculation and fitting state here.

Status bar

Inspect parameter correlations

Open Correlations in the Analysis main view after fitting. Inspect strongly related free parameters alongside their uncertainties and the residual. A correlation can reveal that the data do not determine two values independently; see covariance and correlations.

Inspect the analysis view here. Its content changes with the active page and selection.

Main workspace

Read recorded fit statistics

Open a fitted project and select Analysis → Extra to inspect its recorded results. Fit result holds the overall outcome and statistics; Experiment fit result separates the measurements; Structure fit result reports the structure's reflection agreement for each experiment.

These groups are read-only. Assess the agreement factors alongside the pattern, uncertainties and parameter correlations.

Inspect the overall outcome and statistics of the completed fit

Inspect the overall outcome and statistics of the completed fit

Compare fit statistics for the individual experiments

Compare fit statistics for the individual experiments

Inspect the structure contributions recorded for each experiment

Inspect the structure contributions recorded for each experiment

Save the project and report

Save the updated project if you want to keep working from its fitted values. Use the Report page to prepare a separate document containing the selected model, results and figures.

The same project can be opened in Python or run with the Command line.

Review the saved report status.

Export