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视频 夏伟力

Youtube: https://youtu.be/R2rHR5Wq9AU 优酷: https://v.youku.com/v_show/id_XNjUwNjAzNzA4MA==.html 以左侧背外
Wanling Zhu
18 sec read

第六十八期fNIRS Journal Club通知2025/12/6, 10am 夏伟力

以左侧背外侧前额叶皮质(DLPFC)为靶点的间歇性 θ 爆发刺激(iTBS)已成为治疗重度抑郁障碍的成熟方案,但其在刺激过程中及刺激后瞬时对神经兴奋性的影响仍不清楚。来自香港理工大学的夏伟力将分享探讨
Wanling Zhu
13 sec read

第六十七期fNIRS Journal Club视频 肖雅琼教授团队

Youtube: https://youtu.be/c8ei0HMMxHU 优酷: https://v.youku.com/v_show/id_XNjUwMDQyMjcwNA==.html 近年来,越
Wanling Zhu
17 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 *