FITTING WITH TWO FUNCTION AT ONE TIME?
amyAUS
I'm pretty new to Igor and I think I have no talent in coding at all...... So pls help.
my question like this, I have set of intensity I(q) and q data , what I want to so is fit the data to a new function which composed of powerlaw and gaussian function. see attached file. where the I0 is the peak height, q0 is the mean postion, B is the width of the peak.
is there sb can let me know how can I do this in Igor?
thanks
July 29, 2010 at 08:25 am - Permalink
(assuming your data are already loaded as Iwave and qwave)
HTH
--
J. J. Weimer
Chemistry / Chemical & Materials Engineering, UAHuntsville
July 29, 2010 at 10:00 am - Permalink
At any rate, I used two exponentially-modifed Gaussian peaks to fit your data. I have added a picture of the result to this post.
I should also note that I fitted a somewhat restricted portion of your data; I don't think that's important. I also used a linear background function. A constant background worked very nearly identically.
John Weeks
WaveMetrics, Inc.
support@wavemetrics.com
August 2, 2010 at 12:58 pm - Permalink