convert SPM output to BIDS derivatives
You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
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.
Can be installed with :
For MATLAB
make install_devFor Octave
make install_dev_octavefile = '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.
Cite As
Remi Gau (2026). spm_2_bids (https://github.com/cpp-lln-lab/spm_2_bids/releases/tag/v0.3.0), GitHub. Retrieved .
General Information
- Version 0.3.0 (49.4 KB)
-
View License on GitHub
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 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 |
