Getting started with Shimadzu NIRS data
Converting Shimadzu files to .nirs files
A MATLAB script to convert the near-infrared spectroscopy data recorded by Shimadzu system(s) to a
.nirs file format for use for use with Homer2 can be obtained at https://www.nitrc.org/projects/shimadzu2nirs. Created by Sahar Jahani.
.nirs file format that results from the conversion is directly supported in FieldTrip. It might be that you need to use the Homer2 toolbox to construct the sensor definition (i.e. the SD structure),
Note that the
.nirs file is a MATLAB file in disguise, you can read it with
nirs = load(filename, '-mat');
and you can save it back to disk with
save(filename, 'nirs', -struct');
However, for reading and preprocessing the data in FieldTrip you would normally not use this low-level approach to access the data, but rather ft_preprocessing and ft_definetrial as explained in the general tutorials.