Handy programs to visualize NIRS data (1): plotTraces

26 sec read

You often need to plot the time series of NIRS signal from all channels with event indicators (See the example below). plotTraces can do that easily.

plotTraces
plotTraces

In the above example, time series of all 24 channels are plotted. The number on the y-axis indicates the channel number, and the vertical lines indicate events. Each color represents one event.

Here is an example of using this function:

figure;plotTraces(hbo, 1:24, mark);

where hbo is Nxm matrix (N: # of time points; m: # of channels). mark is a nx2 matrix where the 1st column is event type (1, 2, 3, …) and the 2nd column is the timing of each event.

And here is the source code of the function.
plotTraces.m



写作助手,把中式英语变成专业英文


AI writing papers with real references


Want to receive new post notification? 有新文章通知我

第七十期fNIRS Journal Club通知2026/3/7, 10am 李日辉团队

传统fNIRS测量由于通道距离单一,干扰源多,存在空间分辨率不足,信号有效成分低的缺点。来自澳门大学的李日辉团队将分享基于多距离、高密度fNIRS的DOT成像技术,并通过单脑运动和双人社交互动范式验证
Wanling Zhu
22 sec read

第六十九期fNIRS Journal Club视频 赵伟华课题组

Youtube: https://youtu.be/VKMgJT9oESI 优酷: https://v.youku.com/v_show/id_XNjUxMzkzOTkyNA==.html?playM
Wanling Zhu
17 sec read

第六十九期fNIRS Journal Club通知2026/1/31, 10am 赵伟华课题组

社会学习是个体通过观察与模仿他人行为获取社会知识与技能的核心过程,其中情绪面孔模仿在情感交流与社会互动中扮演关键角色。长期情绪面孔模仿学习如何动态塑造镜像神经元系统的神经表征,并影响后续社会情绪感知尚
Wanling Zhu
12 sec read

One Reply to “Handy programs to visualize NIRS data (1): plotTraces”

Leave a Reply

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