Use the base numpy interp() function rather than scipy's interp1d(). The...
Use the base numpy interp() function rather than scipy's interp1d(). The reason is that when interpolation only 1 array the former is much faster (probably because it is compiled and there is no overhead returning a function. We can only do that for the new component. For the old ones, there are too many for this to be worthwhile. Still, it nets a nice improvement.
Showing with 3 additions and 5 deletions