Closed yifeiSunny closed 1 year ago
There's two ways. One is getting them from the header['annotations'] that is returned by signal, signalheaders, heder = highlevel.read_edf(), the other is by using the EdfReader.readAnnotations() after opening the file.
header['annotations']
signal, signalheaders, heder = highlevel.read_edf()
EdfReader.readAnnotations()
so
signal, signalheaders, header = highlevel.read_edf(edf_filename) annot = header['annotations'] print(annot)
or
f = EdfReader(edffile) annot = f.readAnnotations print(annot)
There's two ways. One is getting them from the
header['annotations']
that is returned bysignal, signalheaders, heder = highlevel.read_edf()
, the other is by using theEdfReader.readAnnotations()
after opening the file.so
or