This repository is licensed under MIT.
-
MATLAB2013b
Set homer2 in the path of MATLAB2013b.
-
Set your work path at D:\toolbox\homer2\PACKAGES\SDgui (change the path in the computer)
-
Run SDgui.m in MATLAB2013b.
- Next, a prompt will appear for you to select a file. Simply click "Cancel" to proceed.
- Then you will see this.
- Base on your optodes arrangement to fill in the blank in the sources and detectors.
- Note: z is always 0.
- When you complete setting the sources and detectors , then click the number, you will get the channel.
- After setting channels, and you need to fill in the “Lambda” based on your data acquiring device.
- Provide a name for the SD file, and let's call it "test.SD," including the ".SD" suffix.
- Click the ''Save", and in the new window, you need to choose the "units", here is "mm"
- Your SD file is saved successfully ! Just close the SDgui.
- Put the data need to convert (.txt), 3 files from Shimadzu2nirs.zip and test.SD created in step 4 together, and set the MABLAB work path to them.
- Run the Shimadzu2nirs.m, then you will get the .nirs data file !
If the optodes arrangement of your experiment is as follows:
Then your SD file arrangement must correspond one-to-one:
If the arrangements are totally inconsistent, for example:
The error will be:
If the arrangements are consistent but the channel numbers in the SD file are inconsistent, for example:
The error will be: