How To Interpolate Data In Python

Поділитися
Вставка
  • Опубліковано 20 лип 2024
  • Check out my course on UDEMY: learn the skills you need for coding in STEM:
    www.udemy.com/course/python-s...
    In this video I show how to interpolate data using the the scipy library of python.
    Link to code:
    github.com/lukepolson/youtube...
    Discord:
    / discord
    How to take integrals in python:
    • Integration in PYTHON ...
    How to solve differential equations in python:
    • How to Solve Different...
    Solving the rocket equation in python:
    • Solving The Rocket Equ...
  • Наука та технологія

КОМЕНТАРІ • 32

  • @gerrievanstaden3416
    @gerrievanstaden3416 2 роки тому +27

    I just discovered this channel and I am so grateful. I love the straightforward one-take videos. This is what school should be like

  • @zephkaffey2705
    @zephkaffey2705 2 роки тому +4

    Just subscribed, this was very helpful! I'm currently doing FLASH Proton therapy research and I'm writing a code that calculates dose and dose rates. I needed to find a way to interpolate the stopping power with respect to energy data with other energy dependent data and this video was very helpful! It's also nice hearing others doing medical physics out there. :)

  • @HardwareHari
    @HardwareHari 2 роки тому +6

    Straight from Discord fam 😌 love your content bro

  • @hutsons-hacks3668
    @hutsons-hacks3668 2 роки тому +1

    Solid explanation of this concept. I wish my lecturers were this clear with some more advanced concepts around multivariate calculus.

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

    Just what I was looking for! And well explained.

  • @frednalyanya4015
    @frednalyanya4015 5 місяців тому

    Apologies for the question I asked a few minutes ago, I was missing "_" somewhere before spline in my code. It has worked. Thank you again.

  • @thelexmeister
    @thelexmeister 2 роки тому +2

    You totally solved my problem with this - thank you!

  • @bow1ng263
    @bow1ng263 11 місяців тому

    Yo man, thank you for all the videos you put out.

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

    Valuable content.
    Thank you very much

  • @viniciuscerqueirasilva9396
    @viniciuscerqueirasilva9396 2 роки тому +8

    Timestamps
    00:00 Introduction
    00:44 Interpolation
    06:48 Usefulness

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

    have you done a video on how to get data on a ray from the center of a circle to its max radius using specific angles?

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

    very good tutorial, easy to understand. thankss!

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

    Great video,you have a new subscriber now. I have x and y computer mouse coordinates and I need to check if the trajectory cross itself. I was thinking to interpolate the data points but then you have any idea how to check if the trajectory cross? Thank you very much!

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

    thank you very much for the video, however, the data type of s_f is 'numpy.ndarray' and I can not use it as integer. Can you please tell me how you solve this problem? Thank you in advance

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

    What if you need to plug in y data and find the corresponding x value in the interpolation function?

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

    great videos.
    Can you explain / show numpy implementation of svd/qr/householder?

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

    Great application of theory in practice

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

    Hey! great video
    I have a question, if I have to import any file say txt file. Now I wanna do interpolation of values say the file contains 1-1000 values. How to define one of the values using linspace.
    Thanks!

  • @frednalyanya4015
    @frednalyanya4015 5 місяців тому

    Thank you for your explanations Mr P Solver, they are very helpful. Today, though I encountered: AttributeError: 'interp1d' object has no attribute 'spline' and I have tried to get around it in various ways but not successful....

  • @mehulvora140
    @mehulvora140 2 роки тому +2

    Hey Man, you are a great teacher...i'm learning a lot from your videos....can you please make a proper series on machine learning from basic to intermediate with examples..!!

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

      This is definitely a project I plan to work on in the future. Machine learning is quite difficult though, and I want to make sure I'm very proficient before digging into tutorials.

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

      @@MrPSolver I understand...please take your time but make sure to make the ML series...your channel is hidden gem on youtube :)

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

    Nice vídeo, helpped me a lot, Very clear explanation, suscribbed.

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

    9:20 mean energy = sum of total energy / sum of photons = sum ( E * S(E))/ sum(S(E))
    11:46 m(t) mass or speed ?

  • @varunsohanda2601
    @varunsohanda2601 2 роки тому +4

    You have a bull's eye for content

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

    really helpfull!!

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

    WE NEED GRIDDATA INTERPOLATION

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

    🔥🔥🔥🔥

  • @pietheijn-vo1gt
    @pietheijn-vo1gt 2 роки тому

    Your discord invite is no longer working

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

    I'm sorry mr. Can you put
    Subtitle please 🙏

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

    deg_slope = np.degrees(np.arctan2(dmdt[0, :], t ))
    On further inspection,
    plotting this expression against the given domain of time clearly magnifies the region 0