I used a men library to visualize EEG signals in a CSV file. This. The file contains multiple rows and columns. the problem is when I use this code
sfreq =20 # Hz
# Create the info structure needed by MNE
info = mne.create_info(12, sfreq)
# Finally, create the Raw object
raw = mne.io.RawArray(X_pca, info)
# Plot it!
raw.plot()
You need data with a higher sampling frequency. Many more data points per second. Like, 500 or so, not just 20 like in your example. And then low-pass filter the data to smooth it.
This is the actual data, and I don’t know their frequency, so I tried to change it each time with higher and lower, but I didn’t get a good smooth appearance. I am a newbie in this field, so I don’t know if there are any steps to decide the appropriate frequency of my sample.