Я пытался понять, что именно должен делать scipy.signal.resample
. Вот простой код:
import numpy as np
from scipy.signal import resample
import matplotlib.pyplot as plt
t=np.linspace(1,4,10)
x=t
x_resampled=resample(x,10000)
plt.plot(x)
plt.figure()
plt.plot(x_resampled)
ввод

и вывод кода

однако я ожидал

Подскажите, пожалуйста, как я могу рассчитаться scipy.signal.resample
чтобы получить такой результат?