Good afternoon,
I'm developing a program for diffraction data visualisation and possible fitting. I like your fitting series, and it works quite nicely. But I would need to fit data with some more complex functions such as Gaussian, Lorentzian or pseudo-Voigt. They have multiple parameters. I can write the code to calculate them. But currently (I followed your fitting demo), the TFitEquqtion = feCustom allows only a sum of basic functions for each parameter. With the feCustom, there is no possibility to replicate, for example, the exponential function (a*exp(bx)) because only one parameter is passed to the basic function, but the exponential needs two.
Can someone suggest a direction on how one could proceed? Thank you in advance.
With best regards
Premek