import matplotlib.pyplot as plt import numpy as np import pandas as pd import os import pickle as pkl from scipy.spatial.distance import cdist from tqdm import tqdm import numpy as np from pathlib import Path from scipy.interpolate import splrep, BSpline from scipy.signal import savgol_filter from pysep.atm.utils import load_new_style from dataclasses import dataclass from collections import namedtuple import matplotlib from scipy.signal import savgol_filter from mplEasyAnimate import animation