frederic-bousefsaf / ippg2bp

MIT License
12 stars 2 forks source link

BP signal reconstructed #3

Open Zwh7795 opened 5 months ago

Zwh7795 commented 5 months ago

Hello Professor. How is the output BP signal reconstructed? Is there any relevant code? Thank you very much!

frederic-bousefsaf commented 5 months ago

Hi, I used Matlab to analyze the .mat produced by the predict.py script. You can for example use icwtlin function to compute the inverse CWT. The input of this function is a structure, you can understand how this structure is computed from signal_to_cwt.m (cwA = cwtft({signal_window,1/fps},'scales',{sc(1) 0.00555 ceil((sc(2)-sc(1))/0.00555) 'lin'},'wavelet','morl');)