T O P I C R E V I E W |
zknauss |
Posted - 08/30/2022 : 11:56:45 AM I have a a peak which is fit by two separate functions on the right and left sides of the curve. On the left it is a Boltzmann functin and on the right its a Two-phase exponenial decay function. Niether of these functions utilize width in there formulas but peak functions requier a variable width to be in the function/parameter window. How can I get this to work?
Thanks,
ZTK |
2 L A T E S T R E P L I E S (Newest First) |
YimingChen |
Posted - 08/30/2022 : 4:11:15 PM You just need to set the peak attributes. See below:

James |
zknauss |
Posted - 08/30/2022 : 12:11:26 PM Current function is: if(x<Xc) y=A1+(y0-A1)/(1+exp((x-XcL)/dx)); else y=A1*exp(-1/t1)+A2*exp(-x/t2+y0);
// Fit Parameter(s): double y0, double Xc, double A1, double XcL, double dx, double A2, double t1, double t2,
Meanings = Base,Center,Amplitude,Center L,Rise dx,Amplitude RP2,decay dx1,decay dx 2
Total width should be width of left + Width of right w=w1+w2 but Im not sure how that should be added into the formula
ZTK |
|
|