Read CNT data as raw object.
Note
2d spatial coordinates (x, y) for EEG channels are read from the file
header and fit to a sphere to compute corresponding z-coordinates.
If channels assigned as EEG channels have locations
far away from the head (i.e. x and y coordinates don’t fit to a
sphere), all the channel locations will be distorted
(all channels that are not assigned with keywords eog, ecg,
emg and misc are assigned as EEG channels). If you are not
sure that the channel locations in the header are correct, it is
probably safer to replace them with mne.io.Raw.set_montage().
Montages can be created/imported with:
Standard montages with mne.channels.make_standard_montage()
Montages for Compumedics systems with
mne.channels.read_dig_dat()
Other reader functions are listed under See Also at
mne.channels.DigMontage
strPath to the data file.
list | tuple | ‘auto’ | ‘header’Names of channels or list of indices that should be designated EOG channels. If ‘header’, VEOG and HEOG channels assigned in the file header are used. If ‘auto’, channel names containing ‘EOG’ are used. Defaults to empty tuple.
list | tupleNames of channels or list of indices that should be designated MISC channels. Defaults to empty tuple.
list | tuple | ‘auto’Names of channels or list of indices that should be designated ECG channels. If ‘auto’, the channel names containing ‘ECG’ are used. Defaults to empty tuple.
list | tupleNames of channels or list of indices that should be designated EMG channels. If ‘auto’, the channel names containing ‘EMG’ are used. Defaults to empty tuple.
Defines the data format the data is read in. If ‘auto’, it is
determined from the file header using numsamples field.
Defaults to ‘auto’.
Format of date in the header. Defaults to ‘mm/dd/yy’.
str (default False)Preload data into memory for data manipulation and faster indexing. If True, the data will be preloaded into memory (fast, requires large amount of memory). If preload is a string, preload is the file name of a memory-mapped file which is used to store the data on the hard drive (slower, requires less memory).
str | int | NoneControl verbosity of the logging output. If None, use the default
verbosity level. See the logging documentation and
mne.verbose() for details. Should only be passed as a keyword
argument.
The raw data.
See also
mne.io.RawDocumentation of attribute and methods.
Notes
New in version 0.12.
mne.io.read_raw_cnt#