Origin Ver. and Service Release (Select Help-->About Origin): OriginPro 2020b (64-bit) 9.7.5.184
Operating System:win10 Hi I need to fit data to two Gaussian function which subtracted each other as I sent by image. The function should be like: y=y0 + A1/(w1*sqrt(pi/(4*log(2)))) * exp(-4*log(2)*(x-xc1).^2/w1^2) - A2/(w2*sqrt(pi/(4*log(2)))) * exp(-4*log(2)*(x-xc2).^2/w2^2)
I define all parameters, But I could not manage to have a converge Fit. Please kindly help me for this Regards, Keivan
Hi Thank you for fitting the data with superposition of 2 Gaussian curve. But the problem is, according to my theory the data should be a subtraction of a small Gaussian from the envelop big Gaussian curve like I demonstrate in the fig below
the blue curve should be decomposed to two Gaussian curve one big (red curve) and one small (Yellow). then the formula like y=y0 + A1/(w1*sqrt(pi/(4*log(2)))) * exp(-4*log(2)*(x-xc1).^2/w1^2) - A2/(w2*sqrt(pi/(4*log(2)))) * exp(-4*log(2)*(x-xc2).^2/w2^2) where there is a minus sign between Gaussian profiles. Then I need a customized fit not the two peak normal fitting.