Watch this Author's files
Yea, Thanks for the script. It was very helpful
I changed the 3 parameter fitting fucntion to
F= p(4) + (2*p(1)./pi)*(p(3)./(4*(x-p(2)).^2 + p(3).^2))
now p1 gives Area, p2 gives the center, p3 gives the FWHM and p4 gives the y offset.
I tried this function on my data and found that parameter calculated are very different from the one I get from Orgin.
I recalculated the width by taking the sq. root of P3. Is that the correct way ?