batch curve fitting with pseudo Voigt peaks
Hi there,
I am working with X-ray diffraction data recorded in situ over time (few hundred patterns), and I do a lot of batch peak fitting to determine the evolution of a single peak width. I usually work with scaled 2D waves.
Batch curve fitting works very well for a quick gaussian fit of a single peak but I would like to be able to use a pseudo Voigt function, and be able to fit two peaks at the same time. Actually, one is from the background and is constant overtime, while the other shifts during the experiment and overlaps with it. I would also like to be able to define a linear background (2 points) as the background isn't perfectly flat.
Is it something that could done?
Thanks
June 22, 2018 at 05:29 am - Permalink
In reply to by olelytken
antonin.grenierI will start from there. Thanks for the help!
August 9, 2018 at 02:37 pm - Permalink
You can eliminate the need for the number of peaks in w[0], which also eliminates problems caused by forgetting to hold it:
August 10, 2018 at 09:02 am - Permalink