Matlab periodogram to Python scipy.periodogram -


i want convert eeg 14 sensors data time domain frequency domain so, have mat lab code convert time domain frequency domain when use python scipy.periodogram function output data totally different so, please provide me appropriate code python same output

eeg 14 sensors data in csv [ https://pastebin.com/1alsekhp ]

mat-lab code `

x=x(:,1:640);   #x(14 sensors,640 samples each sensor)  fs=128;  n=640;  k=1:1:14  original_data=x;  window=hamming(n);  psd_data(k,:) = 2*periodogram(original_data(k,:),window,0:fs/2,fs);  end 

` matlab output data link [https://pastebin.com/shqdxehs ]


Comments

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -