None must operate on continuous wave data, but none was found.

I have a data in csv file. I followed the steps in MNE documentation. This is my info

|Measurement date|Unknown|
|Experimenter|Unknown|
|Participant|Unknown|
|Digitized points|Not available|
|Good channels|15 Oxyhemoglobin, 15 Deoxyhemoglobin|
|Bad channels|None|
|EOG channels|Not available|
|ECG channels|Not available|
|Sampling frequency|8.13 Hz|
|Highpass|0.00 Hz|
|Lowpass|4.07 Hz|
|Duration|00:23:07 (HH:MM:SS)|

When i run below code, I get the error

raw_od = mne.preprocessing.nirs.optical_density(raw)

raw_od.plot(n_channels=len(raw_od.ch_names), duration=500, show_scrollbars=False)

Runtime error: None must operate on continuous wave data, but none was found.

No idea what i am missing. Any help would be very grateful.

1 Like

Have you found a solution?