I have DEAP dataset which contains 40(videos)*40(channels)*8064(data) eeg values for each file. It is preprocessed in python. Here are some descriptions:
I need to do source localization but failed to load the data. Please help me with this issue.
Also, I have the channel locations(x,y,z) in a text file, so how can I manually use these for visualization.
To sum up, for a video I need to select channels which takes the data of the most active parts of the brain after a trial(video).
Since the format of your files does not seem to correspond to any standard file format, it might be complicated to load easily into the Brainstorm database.
If you can get to save the file in a .mat, then load it in Matlab
Permute the dimensions to [channels x time x conditions] data=permute(data,[2,3,1])
Save it to a Matlab .mat file with one field only
Menu Import MEG/EEG, file format EEG: Matlab matrix
If you can't get this to work, I could suggest two alternatives:
The data channels are not named because of the poorly documented file format you are using, therefore you can't use easily the menu Add EEG positions, as done in the tutorial.
If the number and order of sensors strictly matches the rows in your data matrix, you can use the menu Import channel file.
Otherwise: first edit the labels of the data channels in the channel file (right-click > Edit channel file), then use Add EEG positions.