If use the mne.io.read_raw_persyst function to read .dat, get an error of “The path you specified, “slp01a.dat.lay”,does not exist.”
You must give the filename of the header .lay
file to load to that function. I assume it will use it to find the other files, such as the .dat
, based on that .lay
file.
So you mean that extensions must end with .lay to load?
To quote some random Persyst manual I found on the internet:
When you export to Persyst, Net Station generates two files:
• a layout file (with a “.lay” extension)
• a data file (with a “.dat” extension)The layout file is a text file that contains header information (events) necessary to interpret the data file. The header information is divided into sections that describe the file type, channel labels, sheets, events, patient’s personal and medical information, and epochs. The .dat file contains the actual EEG data.
MNE-Python probably expects both the .lay
and .dat
files to be there in the same folder.