The most helpful codes (2 lines) in SPM

17 sec read

While discussing data analysis with a coworker today, I Jokingly said my experience on brain imaging can be condensed into two lines of code:

V = spm_vol('filename.img'); % note: spm_vol can also take nii files as input
M = spm_read_vols(V); % M is a 3D matrix now.

This two lines of code is to read data from an image file. After this, you can do any fancy data analysis you want.

Also see https://www.alivelearn.net/?p=1176



文献鸟 618 活动


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


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

第六十五期fNIRS Journal Club通知2025/8/30, 10am 兰月教授 陈嘉琳

该文章的声音简介(中文版): 该文章的声音简介(英文版): 在运动想象型脑机接口 (MI-BCI)训练中,不少使用者表现出控制效果不佳,即使经过训练也难以达到理想水平的“BCI 无效性”现象。RDLP
Wanling Zhu
15 sec read

第六十四期fNIRS Journal Club视频 黄润玉

Youtube: https://youtu.be/8lyoR_K2BYA 优酷:https://v.youku.com/v_show/id_XNjQ4MjU2Mzk3Mg==.html 随着全球老龄
Wanling Zhu
14 sec read

第六十四期fNIRS Journal Club通知2025/7/12, 10am 黄润玉

该文章的声音简介(中文版): 该文章的声音简介(英文版): 随着全球老龄化加剧,越来越多老年人面临数字化适应、子女异地独居适应等问题。在青年志愿者人数明显不足以覆盖老龄人口的现实情况下,让老年同龄人进
Wanling Zhu
9 sec read

Leave a Reply

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