How to: Import, Plot, Fit, and Integrate Data in Python

Поділитися
Вставка
  • Опубліковано 5 вер 2024

КОМЕНТАРІ • 49

  • @hageslab7281
    @hageslab7281  4 роки тому +13

    Correction: In "curve_fit", the bounds should be bounds for fitting the desired parameter (e.g. popt must lie in this range). This bound has nothing to do with the xdata!

    • @sarahbensalem5271
      @sarahbensalem5271 3 роки тому +2

      Thanks for your efforts ,can u do another curve fit if we have more than variable (x1,x2..)

    • @hageslab7281
      @hageslab7281  3 роки тому

      @@sarahbensalem5271 I think this will help you: stackoverflow.com/questions/28372597/python-curve-fit-with-multiple-independent-variables

    • @Mayank-mf7xr
      @Mayank-mf7xr 3 роки тому

      Makes sense. If we only wanted to fit limited data, we could just pass sliced array. Also, putting bounds on the optimised parameters is important. (and desired by constraints, if any).

    • @liammuhammad1980
      @liammuhammad1980 3 роки тому

      sorry to be off topic but does any of you know of a method to log back into an instagram account?
      I was stupid forgot my login password. I would love any help you can offer me.

  • @maramarsu8204
    @maramarsu8204 2 роки тому +1

    Great stuff. Basic, simple and practical. Why is there so little of the Python videos here like this.

  • @jazzgenerator8787
    @jazzgenerator8787 3 роки тому +1

    Thank you for this, I was looking for a curve fit algo and didn't know scipy had one :) Also you go straight to the point, much appreciated !

  • @Oceansteve
    @Oceansteve 2 роки тому

    thanks, very clear explination and was also interesting to see spyder used for investigation rather than jupyter lab

  • @emmanuelokpas7807
    @emmanuelokpas7807 2 роки тому +1

    I love the simple but very instructive way of presentation in your videos. I want to know if you run online tutorial classes for python in spyder IDE for beginners like myself so interested persons can register and be taught...I am really interested if you do such. keep it up. cheers!

  • @pgille2
    @pgille2 2 роки тому

    the man right here, wish I could thumbs up more than once, already tried a few times

  • @prabalbarman
    @prabalbarman 3 роки тому +2

    Nice tutorial.... Love from india❤

  • @xxx4651
    @xxx4651 2 роки тому

    Great video on curve fitting!

  • @Chen-gl9hm
    @Chen-gl9hm 3 роки тому +1

    Thank you
    I have two question
    1. How to add errors in experimental data i.e . We will have three columns x, y and yerror.
    2. If we have many observations for same experiment with error in each set . How to show all plots one panel.

  • @subhankarmajumder7649
    @subhankarmajumder7649 3 роки тому +1

    Thank uu Thank uuu Thankk uuu.!!! Just Thank uu❤️

  • @220shkb
    @220shkb Рік тому

    That's an awesome tutorial. It was so easy to understand the codes. Great work!!

  • @michaelsmith6420
    @michaelsmith6420 2 роки тому

    Excellent video, am now a subscriber. Two questions of practical important for many of your students. First, how to modify the curve_fit command to perform the regression using robust treatment of errors? Am performing analysis where distances are the dependent variable, and we all know that the errors of far distant objects are sometimes best treated as relatively unimportant. Second, need to display the standard deviations of the parameters - how best to do this?

  • @Surtinsumos
    @Surtinsumos 3 роки тому +1

    @HagesLab, thank a lot and wonderful tutorial, it will be more interesting and disrupt if you do reverse engineering (from image/graph image, extract data points to .csv)

  • @Markosiiiiii
    @Markosiiiiii 3 роки тому +1

    Can you explain about libraries for to do integrations from data files? and for example, How to do adaptative integration?

  • @braziliansocietyatcolumbia5472
    @braziliansocietyatcolumbia5472 3 роки тому +1

    amazing teaching skills! thanks!

  • @qqiangg1
    @qqiangg1 3 роки тому +1

    You should make your screen larger, or the display larger to see

  • @kajwalkumarpatra5506
    @kajwalkumarpatra5506 3 роки тому +2

    Hi, good work. Thanks for your efforts

  • @corinwong9957
    @corinwong9957 3 роки тому +1

    Thanks for this tutorial! I have a project that requires the integration of an acceleration data set twice two get position, however, I was wondering how to go about plotting the integrated curve of acceleration to get velocity and the integrated curve of velocity to get position. Would you be able to provide any insight on this please?

  • @simone9740
    @simone9740 3 роки тому

    Thank you so much, your videos are useful as hell... i think you saved me a whole day of work =D

  • @emmanuelschmulewitz1215
    @emmanuelschmulewitz1215 2 роки тому

    Cool video. This I like a lot. Thanks for the helpful instructions.

  • @abinashpun8212
    @abinashpun8212 2 роки тому

    Nice tutorial. Thank you. I was wondering if there is any inbuilt library available in python to get the uncertainty in integration due to the uncertainty in the fit parameters.

  • @uber-jaianada
    @uber-jaianada 2 роки тому

    thank you, this is an awesome primer.

  • @marianaortiz7993
    @marianaortiz7993 3 роки тому +2

    Thank you so much!!!!!

  • @chalcool740
    @chalcool740 2 роки тому

    Thank you for the tutorial. Can it still work without using spyder. Using python IDLE?

  • @carloscastellanos1649
    @carloscastellanos1649 3 роки тому +1

    Excellent video, helped me a lot. One question, how I can obtain a equation from a set of data? I imported my initial data and made some operations to obtain a new dataframe, but I'm struggling in obtaining a equation that could define it. Thanks

    • @boralucas8566
      @boralucas8566 2 роки тому

      hello, have you gotten an answer? Ive had this problem for a while and i thought that maybe you could help! TY

  • @okanhoca2295
    @okanhoca2295 3 роки тому +1

    thank you so much.

  • @tehyonglip9203
    @tehyonglip9203 10 місяців тому

    it is not necessary to define the bounds most of the time, more often, p0, the initial guess is something you need to provide

  • @Anyicolmenares
    @Anyicolmenares 2 місяці тому

    Hello, how ca I do this with more columns and rows, that means with a dataset?

  • @matthewluna1209
    @matthewluna1209 3 роки тому

    Nice video, but how can I subtract the set of my data points to the points in the curve line?

  • @vfx7t
    @vfx7t 2 роки тому

    Thank you

  • @marig5021
    @marig5021 2 роки тому

    I love you so much rn

  • @suhermans7037
    @suhermans7037 10 місяців тому

    where is download your code *.py and csv file sir ?

  • @vfx7t
    @vfx7t 2 роки тому

    i dont found de CSV ?

  • @vfx7t
    @vfx7t 2 роки тому

    is original your script on UA-cam :D

  • @thunderbirdizations
    @thunderbirdizations 3 роки тому

    This guys definitely a compartmentalizer hahahaha

  • @vfx7t
    @vfx7t 2 роки тому

    404
    Erreur - Page introuvable
    Veuillez vérifier l’URL.
    Sinon, cliquez ici pour être redirigé vers la page d’accueil.

  • @aryadeepbiswas6375
    @aryadeepbiswas6375 Рік тому

    14:57

  • @juancassinerio1580
    @juancassinerio1580 Рік тому

    gracias maestro