/Signal-feature-extraction_DE-and-PSD

Code for extracting DE (differential entropy) and PSD (power spectral density) feature of signals.

Primary LanguagePython

Signal feature extraction (DE and PSD)

Code for extracting DE (differential entropy) and PSD (power spectral density) feature of signals.

Matlab and python versions are provided.

input:  data [n*m]          n electrodes, m time points
        stft_para.stftn     frequency domain sampling rate
        stft_para.fStart    start frequency of each frequency band
        stft_para.fEnd      end frequency of each frequency band
        stft_para.window    window length of each sample point(seconds)
        stft_para.fs        original frequency
output: psd,DE [n*l*k]        n electrodes, l windows, k frequency bands