How can I read file of "cnt"? I tried but get fault.

  • MNE-Python version: lastest
  • operating system: win 10
    I read my cnt file by the coed " mne.io.read_raw_cnt() “,but I got one fault which " RuntimeWarning: Could not parse meas date from the header. Setting to None.”
    What I need to do to deal with it ?
    code following :wink:
    path = ‘G:/20211020/CNT/11.1.cnt’
    a = mne.io.read_raw_cnt(path)

This is not an error, just a warning saying it was not able to determine the measurement date from the header. The measurement date is not mandatory anyway.

If you want to set the measurement date on your Raw instance after loading, you can use the .set_meas_date method.

1 Like

Your reply is nice!Thanks!

3 posts were split to a new topic: Plot closes immediately