pythonウェーブレット解析による特徴抽出
399 ワード
#
#
inputfile= 'C:/Users/Administrator/Desktop/demo/data/leleccum.mat' # Matlab
from scipy.io import loadmat #mat MATLAB , loadmat
mat = loadmat(inputfile)
signal = mat['leleccum'][0]
import pywt # PyWavelets
coeffs = pywt.wavedec(signal, 'bior3.7', level = 5)
# level+1 , ,
len(coeffs)