spm_2_bids

版本 0.3.0 (49.4 KB) 作者: Remi Gau
convert SPM output to BIDS derivatives
2.0 次下载
更新时间 2023/8/1

tests and coverage with matlab codecov View spm_2_bids on File Exchange

spm_2_bids

Small code base to help convert the MRI spm output to a valid bids derivatives.

This code only generates the plausible BIDS derivatives filename for given file that has been preprocessed with SPM.

Most of the renaming is based on the SPM prefixes combinations.

It is configurable to adapt to new set of prefixes.

Dependencies

Can be installed with :

For MATLAB

make install_dev

For Octave

make install_dev_octave

Usage

file = 'wmsub-01_desc-skullstripped_T1w.nii';

[new_filename, pth, json] = spm_2_bids(file);

new_filename =

 'sub-01_space-IXI549Space_desc-preproc_T1w.nii');

For more see the documentation.

引用格式

Remi Gau (2024). spm_2_bids (https://github.com/cpp-lln-lab/spm_2_bids/releases/tag/v0.3.0), GitHub. 检索来源 .

MATLAB 版本兼容性
创建方式 R2023a
兼容任何版本
平台兼容性
Windows macOS Linux
标签 添加标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
0.3.0

0.2.0.0

See release notes for this release on GitHub: https://github.com/cpp-lln-lab/spm_2_bids/releases/tag/v0.2.0

0.1.0.0

See release notes for this release on GitHub: https://github.com/cpp-lln-lab/spm_2_bids/releases/tag/v0.1.0

要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库
要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库