mne_nirs.io.write_raw_snirf#
- mne_nirs.io.write_raw_snirf(raw, fname, add_montage=False)[source]#
Write continuous wave data to disk in SNIRF format.
Writes the data from a raw object to a SNIRF file using SNIRF specification version 1.1. The data can be either raw continuous wave amplitude, optical density or haemoglobin data. The data is written to the SNIRF file as a single data block and should pass the validation provided by the official snirf validator.
The MNE SNIRF reader requires that the data file contains either two wavelengths or both hbo and hbr data. This function can export data with just one wavelength or just hbo or hbr data. However, until modifications are made to the SNIRF reader, the exported data will not be readable by the MNE SNIRF reader.
Examples using mne_nirs.io.write_raw_snirf
#
Read Gowerlabs LUMO data
SNIRF Support in MNE