Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
numpy.interp
#1
Hi :)
I'd like to know if someone knows how to translate these linecodes from scilab into Python:

Var1=splin(x,y)
Var2=interp(p,x,y,Var1);

Because I think we can't interpolate "Var1" which is already an interpolation..

Thank you Smile
Reply


Messages In This Thread
numpy.interp - by silverfish - Mar-15-2018, 10:28 PM
RE: numpy.interp - by Larz60+ - Mar-15-2018, 10:49 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  [Numpy] How to store different data type in one numpy array? water 7 634 Mar-26-2024, 02:18 PM
Last Post: snippsat
  Numpy returns "TypeError: unsupported operand type(s) for *: 'numpy.ufunc' and 'int'" kalle 2 2,643 Jul-19-2022, 06:31 AM
Last Post: paul18fr
  "erlarge" a numpy-matrix to numpy-array PhysChem 2 3,010 Apr-09-2019, 04:54 PM
Last Post: PhysChem

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020