convert_spm_fnirs: Convert file generated by Labnirs to the file spm_fnirs need

Description Usage Arguments Details Value Author(s)

Description

Convert the data file generated by Labnirs to the spm_fnirs toolbox in Matlab.

Usage

1
convert_spm_fnirs(filename = NA)

Arguments

filename

Is path to locate a Labnirs file.

Details

This function can generate some file which spm_fnirs need. You should choose the file generated by Labnirs, then this program will generate some file at the same folder. "wavelength1"and "wavelength2" are two csv file which spm_fnirs need, and you should know the wavelength 1 is 780nm and wavelength 2 is 805nm. We also get onset files, and marked the onset as seconds or line number in Labnirs file. The last file is ch_config, spm_fnirs need it to know the pair of probe.

Value

Some csv file you need use them in spm_fnirs.

Author(s)

Xiaokai Xia (夏骁凯) xia@xiaokai.me


dddd1007/PsychoRLabnirs documentation built on May 15, 2019, 1:50 a.m.