def __init__(self,cqt,Ls): from scipy.interpolate import interp1d self.intp = [interp1d(np.linspace(0,Ls,len(r)),r) for r in cqt]