import pickle as pkl import matplotlib.pyplot as plt from fastdtw import fastdtw from scipy.spatial.distance import euclidean, hamming import numpy as np from mplEasyAnimate import animation from tqdm import tqdm import similaritymeasures from scipy.interpolate import interp1d