Fityk is a program for nonlinear fitting of analytical functions (especially peak-shaped) to data (usually experimental data).
To put it differently, it is primarily peak fitting software, but can handle other types of functions as well.
Apart from the actual fitting, the program helps with data processing and provides ergonomic graphical interface (and also command line interface and scripting API – but if the program is popular in some fields, it’s thanks to its graphical interface).
It is reportedly used in crystallography, chromatography, photoluminescence and photoelectron spectroscopy, infrared and Raman spectroscopy, to name but a few.
Fityk offers various nonlinear fitting methods, simple background subtraction and other manipulations to the dataset, easy placement of peaks and changing of peak parameters, support for analysis of series of datasets, automation of common tasks with scripts, and much more.
In simple cases, the program can be operated with mouse only. Let say that you want to model the data with multiple peaks or other function shapes. You select a built-in function type (such as Gaussian, Voigt, sigmoid, polynomial and dozens of others) place it with the mouse, place other functions and click a button to fit it.
But the program can also handle quite complex scenarios. You can define your own function types. You can specify sophisticated dependencies between parameters of the functions (say, peak widths given as a function of peak positions). You can fit multiple datasets together using common set of parameters. You can model zero-shift in your instrument or do more complicated refinement of the X scale. And you can automate all this work. If you don’t know how to handle your case, do not hesistate to ask on the users group or contact the author.
To download the latest version of the program or to contact the author visit fityk.nieto.pl.
It uses a few open source projects:
NLopt for several optional fitting methods
one of the fitting methods uses MPFIT library (MINPACK-1 Least Squares Fitting Library in C), which includes software developed by the University of Chicago, as Operator of Argonne National Laboratory.
xylib library handles reading data files
Lua interpreter is embedded for scripting
and a few popular libraries and tools that make programming much easier: wxWidgets (GUI), Boost (misc), zlib (compression), readline (CLI), SWIG (bindings), Catch (testing).
About this manual¶
This manual is written in ReStructuredText.
All corrections and improvements are welcome.
Show Source link to get the source of the page, edit it
and send me either the modified version or a patch.
Alternatively, go to GitHub, open corresponding rst file, press Fork and edit this file button, do edits in your web browser and click Propose file change.
The following people have contributed to this manual (in chronological order): Marcin Wojdyr (maintainer), Stan Gierlotka, Jaap Folmer, Michael Richardson.