Voigt_Fitter

This program employs Voigt functions to fit spectral peaks.

Al momento, stai seguendo questo contributo

This program employs Voigt functions to fit spectral peaks. The resulting fit parameters, curves, and quality metrics (R-squared, adjusted R-squared, and reduced Chi-squared) are exported in text files and stored in cell arrays. Additionally, two figures are generated: a plot showing the experimental data along with the Voigt curves calculated using the initial parameter estimates and a plot showing the experimental data along with the final fitting curves.
1. Features
  • The main program is named Voigt_Fitter.
  • All function names begin with the prefix "F_".
  • To run the program, you have to provide the following input parameters at lines 137-154:
Name of the file containing the spectrum to be imported
The lower and upper limits of the x-range in which the fitting will be calculated
Initial guesses for Gaussian and Lorentzian Widths, and Peak Center(s)
The program automatically estimates the peak areas.
  • The following files are generated:
filename_Fit_Curves.txt: Contains the experimental data and the fitted curves.
filename_Fit_Par.txt: Contains the fitted parameters and their standard errors.
filename_Fit_Qua.txt: Contains the fitting quality parameters.
  • The following figures are generated:
Figure 1: Shows the exp. data and Voigt curves based on the initialized param.
Figure 2: Showss the exp. data and Voigt curves resulting from the fitting.
2. Other details

Cita come

Roberto Pilot (2026). Voigt_Fitter (https://it.mathworks.com/matlabcentral/fileexchange/175584-voigt_fitter), MATLAB Central File Exchange. Recuperato .

Informazioni generali

Compatibilità della release di MATLAB

  • Compatibile con qualsiasi release

Compatibilità della piattaforma

  • Windows
  • macOS
  • Linux
Versione Pubblicato Note della release Action
1.0.0