2) Fitting: With the fitting block, the project description, lmfit-parameters (settings), and the peaks (distributions) can be defined. For the definition, a sub-dictionary has to look like in Figure : This distribution model as a sub-dictionary will be internally passed to the fitting function for each defined distribution model. A detailed description of all models is also provided in the Application Programming Interface (API) of the online documentation.