File tree Expand file tree Collapse file tree 2 files changed +6
-16
lines changed
Expand file tree Collapse file tree 2 files changed +6
-16
lines changed Original file line number Diff line number Diff line change 11"""
2- IO for reading edf and edfplus files using pyedflib
2+ IO for reading edf and edf+ files using pyedflib
33
44PyEDFLib
55https://pyedflib.readthedocs.io
1515
1616
1717class EDFIO (EDFRawIO , BaseFromRaw ):
18+ """
19+ IO for reading edf and edf+ files.
20+ Note that this IO does not yet implement true lazy loading.
21+ """
1822 name = 'EDF IO'
1923 description = "IO for reading EDF and EDF+ files"
2024
Original file line number Diff line number Diff line change @@ -31,21 +31,7 @@ def test_read_block(self):
3131 bl = self .io .read_block ()
3232 self .assertTrue (bl .annotations )
3333
34- def test_read_segment_lazy (self ):
35- """
36- Test lazy loading of object structure and loading of data in a 2nd step
37- """
38- seg = self .io .read_segment (lazy = True )
39- for ana in seg .analogsignals :
40- assert isinstance (ana , AnalogSignalProxy )
41- ana = ana .load ()
42- assert isinstance (ana , AnalogSignal )
43-
44- seg = self .io .read_segment (lazy = False )
45- for anasig in seg .analogsignals :
46- assert isinstance (ana , AnalogSignal )
47- self .assertTrue (any (anasig .shape ))
48-
34+ seg = bl .segments [0 ]
4935 assert seg .name == 'Seg #0 Block #0'
5036 for anasig in seg .analogsignals :
5137 assert anasig .name is not None
You can’t perform that action at this time.
0 commit comments