I have EEG data.
I have 51 values(complex numbers) that are supposed to represent the frequency.
I plot the absolute values.
They have negative values and have an imaginary component as well:
array([ 209.28168 +0.j , -9.189357 +165.30928j ,
-73.242516 +16.988483j , -56.90396 -6.681808j ,
2.368906 -73.34094j , 77.60809 +51.808327j ,
-127.98835 +102.01125j , -130.74635 -187.83682j ,
178.67984 -114.41258j , 47.705574 +87.53061j ,
28.301582 -19.40547j , 52.638763 +96.17305j ,
-103.75746 +68.47661j , -86.84241 -89.90001j ,
78.26882 -93.51044j , 72.987045 +61.222275j ,
-38.35683 +44.473587j , -35.613907 -24.128868j ,
15.530724 -41.42018j , 36.37819 -6.4717045j ,
37.23372 +14.647099j , 4.8836637 +47.6666j ,
-31.395866 +6.009075j , 10.648441 -16.590837j ,
18.799345 +35.3611j , -56.23816 +16.46596j ,
9.5054 -62.397247j , 51.61265 +42.241302j ,
-56.021103 +31.970703j , -10.403204 -52.568584j ,
48.29229 +12.685957j , -32.49025 +44.99341j ,
-36.23934 -36.369003j , 20.976671 -28.656288j ,
34.212887 +0.95503426j, 10.58852 +48.998833j ,
-57.62168 +18.617676j , -30.762165 -53.3849j ,
40.68946 -38.06536j , 28.283798 +23.822248j ,
-5.9956245 +9.426829j , -1.0014873 +6.1050067j ,
-8.298754 -6.1727304j , 10.428 -5.2445345j ,
2.635398 +5.918062j , -0.13528198 -0.94400257j,
6.9935513 +0.06301874j, 2.293034 +9.832797j ,
-5.2560153 +3.3630538j , -4.138683 +0.770857j ,
-1.1582437 -4.4128532j ], dtype=complex64)
I also have this information provided:
sampling rate: 250Hz per second winlength: 0.5s => 125 point overlap: 0.25s => 63 points
I don't exactly know what they mean 250 the sampling period, my understanding says that I should than have 125 values in the frequency decomposition. Our should I somehow expand this decomposition to 250 values.
I run the inverse fourier from scipy
It seems a bit odd. Should I perhaps somehow taken into account the information about the sampling rate.