标签: python wavelet-transform pywt
例如,我尝试通过此代码通过节点'aaa'重建数据:
q = pywt.WaveletPacket(range(0,100),'db4',mode = 'symmetric') n = pywt.WaveletPacket(None,'db4',mode = 'symmetric') n['aaa'] = q['aaa'] n = n.reconstruct()
但是结果是,n的长度是102,而不是100。为什么在重构数据中长度改变了?