0
votes

I have Physiological EEG emotion dataset named "Deap". I want to analyze and visualize the data through MNE but it has its own format.

How can I load my personal data for pre-processing, data format is (.dat)?

1

1 Answers

1
votes
import pickle

with open('s01.dat', 'rb') as f:
    y = pickle.load(f, encoding='latin1')

This one works for me. Of course, the ".dat" file is in the same directory as this code.