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




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


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

第六十七期fNIRS Journal Club通知2025/11/1, 10am 肖雅琼教授团队

近年来,越来越多的研究关注自闭症谱系障碍 (ASD)儿童的大脑功能连接异常。但这些异常连接在时间维度上如何变化?又是否与儿童的症状严重程度和认知能力有关?深圳理工大学的肖雅琼教授使用功能性近红外光谱
Wanling Zhu
13 sec read

第六十六期fNIRS Journal Club视频 李洪博士 牛海晶教授

Youtube: https://youtu.be/gkXdJkOalNY 优酷:https://v.youku.com/v_show/id_XNjUwMzg3MzQ2MA==.html 随着老龄化加
Wanling Zhu
13 sec read

fNIRS Frontier Weekly Report (free service)

Subscription Link: https://www.storkapp.me/readingguide/ If you are interested in the fNIRS (Functional Near-Infrared Spectroscopy) field, Stork is now offering a free service: every week, we will collect and summarize the fNIRS-related literature pu
Xu Cui
3 min 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 *