Monday, October 31, 2016

LineFit: Matlab toolbox for 1D line fitting

LineFit is a toolbox for 1D line fitting. It is part of the GIXSGUI analysis tools but can run independently on its own. In addition to over 30 built-in curve models, it allows a combination of built-in models or customization of new models. As a class object, LineFit's properties and methods allow one to customize fitting options, easily switch on/off parameters for fitting, evaluate models, and calculate model properties. It provides both script mode for batch processing and GUI mode for interactive fitting. LineFit is tested on Matlab 2015b or later. It requires Matlab Optimization Toolbox for lsqcurvefit solver.


List of built-in curve models:
'1: Cauchy/Lorentzian'
'13: Voigt'
'25: Log-Cauchy'
'2: Intermeidate Lorentzian'
'14: Skew-Laplace'
'26: Log-Normal'
'3: Modified Lorentzian'
'15: Skew-Logistic'
'27: Pareto Type I'
'4: Gaussian'
'16: Skew-Normal'
'28: Weibull'
'5: Generalized Normal 1'
'17: Skew-Pseudo-Voigt (SB)'
'29: Atan'
'6: Laplace'
'18: Skew-Pseudo-Voigt (SSG)'
'30: Error'
'7: Logistic'
'19: Burr XII'
'31: Power Law'
'8: PearsonVII'
'20: Exponential'
'9: Pseudo-Voigt (TCH)'
'21: Gamma'
'10: Pseudo-Voigt (IAT)'
'22: Inverse Gamma'
'11: Pseudo-Voigt (LLHGD)'
'23: Inverse Normal'
'12: Uniform'
'24: Levy'
Download link: linefit

1 comment:

Zhiwen Chen said...

Dear Dr. Zhang Jiang,
I cant download your lineFit Code through web link. Can you share it?
My email address: chenzhiwen@aircas.ac.cn
Many thanks,
Zhiwen Chen