经验模态能量提取

---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
Cell In[11], line 10
      7 imfs, res = emd.get_imfs_and_residue()
      9 vis = Visualisation()
---> 10 vis.plot_imfs(imfs=imfs, residue=res, t=time, include_residue=True)
     11 # 绘制并显示所有提供的IMF的瞬时频率
     12 vis.plot_instant_freq(time, imfs=imfs)

File D:\Anaconda3\lib\site-packages\pyemd\visualisation.py:62, in Visualisation.plot_imfs(self, imfs, residue, t, include_residue)
     59 fig, axes = plt.subplots(num_rows, 1, figsize=(self.PLOT_WIDTH, num_rows * self.PLOT_HEIGHT_PER_IMF),dpi=300)
     61 if num_rows == 1:
---> 62     axes = list(axes)
     64 axes[0].set_title("Time series")
     66 for num, imf in enumerate(imfs):

TypeError: 'AxesSubplot' object is not iterable

 

你可能感兴趣的:(算法)