Really enjoyed your clear tutorial. I'm using this to help me fit spectra peaks from astronomical data to gaussian curves. Will hopefully impress my professor. Much thanks!
A very good video, just what I needed to quickly get going on a work problem I currently have, using nothing but the packages that already come installed in anaconda. Good work.
Thanks for the positive feedback. The code is available at this website: ignite.byu.edu/che263/lectureNotes/ This includes all lecture notes. If you back up to che263 you can see other course materials. The integration, interpolation, and curve fitting slides are now separate, but much of the content is the same. Not all notes are posted; they get added as the semester progresses. You can find slides from previous semesters here: ignite.byu.edu/che263/lectureNotes/old.html
This was a superb tutorial, I was wondering if you have or can make a video explaining how to make the r squared value for the curve fitted function you made at 14:08
As a Python newbie, I found this tutorial fantastic for an analysis I am currently undertaking. What is missing though, is the code necessary for goodness of fit. I can't figure out how to do this - can anybody help?
What if the function have been integrated by .quad and sub into another non-analytical function to get two sets of array, and I want to do curve fitting of that with test data?
I like it, but I was looking for some tutorials that explain me how can I use the covariance matrix, that in your tutorial is reported at the end of it as "extras" in the "curve_fit" output, and still I can't find anyone who explain me it
just saying dx is the convention that you put in an end of a integral because you are declaring you are using the decimal system for x that is the meaning of it in integrals but in a bit more complicated integrals you can declare part of a fucntion thay ou want to solve as the system like Ux it's pretty interesting and easy so you should check it out