- mne.io.read_raw_nsx(input_fname, stim_channel=True, eog=None, misc=None, preload=False, *, verbose=None)#
Reader function for NSx (Blackrock Microsystems) files.
Path to the NSx file.
'auto', which means that channels named
'trigger'(case insensitive) are set to STIM. If str (or list of str), all channels matching the name(s) are set to STIM. If int (or list of ints), channels corresponding to the indices are set to STIM.
Names of channels or list of indices that should be designated EOG channels. Values should correspond to the electrodes in the file. Default is None.
Names of channels or list of indices that should be designated MISC channels. Values should correspond to the electrodes in the file. Default is None.
- preloadbool or
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).
- verbosebool |
- rawinstance of RawEDF
The raw instance. See
mne.io.Rawfor documentation of attributes and methods.
NSx files with id (= NEURALSG), i.e., version 2.1 is currently not supported.
If channels named ‘status’ or ‘trigger’ are present, they are considered as STIM channels by default. Use func:
mne.find_eventsto parse events encoded in such analog stim channels.