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 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

【福利】免费订阅 fNIRS 前沿周报

订阅链接: https://www.storkapp.cn/readingguide/ 如果您对 fNIRS 这个领域感兴趣,现在文献鸟 Stork 提供一个免费的服务,每周帮您搜集总结上周发表的与
Xu Cui
22 sec read

第六十六期fNIRS Journal Club通知2025/9/27, 10am 李洪博士 牛海晶教授

该文章的声音简介(中文版): 该文章的声音简介(英文版): 随着老龄化加剧,工作记忆下降成为影响老年人生活质量的重要问题。经颅光刺激 (tPBM) 作为一种新兴、无创的神经调控技术,通过特定波长的(近
Wanling Zhu
9 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 *