我试图将EDF文件读取到Jupyter中,然后使用pyedflib.EdfReader(https://pyedflib.readthedocs.io/en/latest/)将其转换为CSV。根据我所做的文档
>>> import pyedflib
>>> import numpy as np
>>> f = pyedflib.EdfReader("data/test_generator.edf")
>>> n = f.signals_in_file
>>> signal_labels = f.getSignalLabels()
>>> sigbufs = np.zeros((n, f.getNSamples()[0]))
>>> for i in np.arange(n):
>>> sigbufs[i, :] = f.readSignal(i)
并收到此错误
ValueError:无法将输入数组从形状(1382368)广播到形状(11058944)
`