, optode_frame='unknown', preload=False, verbose=None) RawSNIRF[source]#

Reader for a continuous wave SNIRF data.


This reader supports the .snirf file type only, not the .jnirs version. Files with either 3D or 2D locations can be read. However, we strongly recommend using 3D positions. If 2D positions are used the behaviour of MNE functions can not be guaranteed.


Path to the SNIRF data file.


Coordinate frame used for the optode positions. The default is unknown, in which case the positions are not modified. If a known coordinate frame is provided (head, meg, mri), then the positions are transformed in to the Neuromag head coordinate frame (head).

preloadbool or 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).

verbosebool | str | int | None

Control 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.

rawinstance of RawSNIRF

A Raw object containing fNIRS data. See for documentation of attributes and methods.

See also

Documentation of attributes and methods of RawSNIRF.

Examples using

Importing data from fNIRS devices

Importing data from fNIRS devices