events=np.array(np.linspace(0,15*60,600))
print(events)
epochs = mne.Epochs(edf_h01_r_hf, events, tmin=-0.2, tmax=0.5, preload=True)
expected result :epoch created
Actual Result : TypeError: events should be a NumPy array of integers, got <class ‘numpy.ndarray’>
- MNE-Python version: 0.23.0
- operating system: Windows 10