Generic peak fitting
This module is used to fit individual or groups of peaks with generic functions.
Getting started
Peak fitting is usually only performed on a short range of the dataset that contains one or a few peaks.
As a first step, this range must be defined.
Step 1: Defining the data range
- Activate the "Add a new fit range"mode by pressing the corresponding button.
- Zoom in on the graph until the range to fit fills a good portion of the screen.
- Double-click on the graph at the position where the range starts.
- Move the cursor to the position on the graph where the range ends. Double-click to set the end position.
While dragging the mouse cursor, the range is indicated visually.
After setting the end position, the range select mode is deactivated automatically and a new
range item is added to the functions list. By double-clicking the start and end items, the values
can be entered numerically.
Step 2: Defining functions
Now add functions to the range:
- Select the range item to which the functions shall be added.
- Select the type of function to be added from the dropdown menu.
- Activate the "Add a new function" mode by clicking on the corresponding button.
- Double-click on the graph to set the location of the first point. Depending on the type of function,
the first point represents:
- Polynomials: the left point of the polynome
- Peak functions: The tip of the peak
Double-click on the graph again to set the location of the second point. Depending on the type of function,
the first point represents:- Polynomials: the right point of the polynome
- Peak functions: One of the feet of the peak
The peak selection mode remains active. Double-click again to start adding the next function. Change the type of function
as needed.
Disable the "Add a new function" mode by clicking the corresponding button.
Step 3: Fitting
Click the "fit" button at the bottom right of the module window.