Handy programs to visualize NIRS data (2): plotTopoMap

37 sec read

Often you need to view the spatial pattern of activation as in the example below. plotTopoMap allows you to do that. It probably only works for Hitachi devices where the spatial relationship between channels are known.

plotTopoMap
plotTopoMap

In the above example, the activation pattern of a 24-channel patch is plotted. The white number indicates the channel number. Color indicates the signal intensity. This map is smoothed. You can immediately tell that what areas are activated. You can also rotate the patch in case the orientation is not correct. You can also hide the channel numbers.

Here is an example on how to use this function:

figure; plotTopoMap(randn(24,1),'4x4');

The 2nd parameter is the patch configuration. It can be ‘4×4’, ‘3×11’, ‘3×5’ or ‘3×3’.

And here is the source code of the function.
plotTopoMap.m. Type help plotTopoMap in MatLab to see how to use it.

Note. This script is adopted from the topo program made by Hitachi.


Don't want to miss new papers in your field? Check out Stork we developed:

nirs2img, create an image file from NIRS data

I was asked where to get nirs2img script. Here it is. The download link is at the bottom of this article. nirs2img is to...
Xu Cui
51 sec read

Leave a Reply

Your email address will not be published. Required fields are marked *