FSL-MRS: An end-to-end spectroscopy analysis package.
Scientific Abstract
We introduce FSL-MRS, an end-to-end, modular, open-source MRS analysis toolbox. It provides spectroscopic data conversion, preprocessing, spectral simulation, fitting, quantitation, and visualization.
The FSL-MRS package is modular. Its programs operate on data in a standard format (Neuroimaging Informatics Technology Initiative [NIfTI]) capable of storing single-voxel and multivoxel spectroscopy, including spatial orientation information. The FSL-MRS toolbox includes tools for preprocessing of raw spectroscopy data, including coil combination, frequency and phase alignment, and filtering. A density matrix simulation program is supplied for generation of basis spectra from simple text-based descriptions of pulse sequences. Fitting is based on linear combination of basis spectra and implements Markov chain Monte Carlo optimization for the estimation of the full posterior distribution of metabolite concentrations. Validation of the fitting is carried out on independently created simulated data, phantom data, and three in vivo human data sets (257 single-voxel spectroscopy and 8 MRSI data sets) at 3 T and 7 T. Interactive HTML reports are automatically generated by processing and fitting stages of the toolbox. The FSL-MRS package can be used on the command line or interactively in the Python language.
Validation of the fitting shows low error in simulation (median error of 11.9%) and in phantom (3.4%). Average correlation between a third-party toolbox (LCModel) and FSL-MRS was high (0.53-0.81) in all three in vivo data sets.
The FSL-MRS toolbox is designed to be flexible and extensible to new forms of spectroscopic acquisitions. Custom fitting models can be specified within the framework for dynamic or multivoxel spectroscopy. It is available as part of the FMRIB Software Library.
Similar content
News
Dr Jeffrey Stedehouder awarded Cambridge NeuroWorks Blue Sky Proof-of-Concept Award
16 September 2026
Preprint
MRC CoRE in RND Output
Distinct In Vivo Electrophysiological Profiles of Mediodorsal Thalamus Subdivisions
Paper
MRC CoRE in RND Output
Modulation of motor cortical theta and gamma oscillations using phase-targeted, closed-loop optogenetic stimulation of local excitatory and inhibitory neurons.
2026. Brain Stimul, 19(2):103034.
Preprint
Exploring the relationship between stroke lesion characteristics and sleep in chronic stroke survivors
FSL-MRS: An end-to-end spectroscopy analysis package.
Scientific Abstract
We introduce FSL-MRS, an end-to-end, modular, open-source MRS analysis toolbox. It provides spectroscopic data conversion, preprocessing, spectral simulation, fitting, quantitation, and visualization.
The FSL-MRS package is modular. Its programs operate on data in a standard format (Neuroimaging Informatics Technology Initiative [NIfTI]) capable of storing single-voxel and multivoxel spectroscopy, including spatial orientation information. The FSL-MRS toolbox includes tools for preprocessing of raw spectroscopy data, including coil combination, frequency and phase alignment, and filtering. A density matrix simulation program is supplied for generation of basis spectra from simple text-based descriptions of pulse sequences. Fitting is based on linear combination of basis spectra and implements Markov chain Monte Carlo optimization for the estimation of the full posterior distribution of metabolite concentrations. Validation of the fitting is carried out on independently created simulated data, phantom data, and three in vivo human data sets (257 single-voxel spectroscopy and 8 MRSI data sets) at 3 T and 7 T. Interactive HTML reports are automatically generated by processing and fitting stages of the toolbox. The FSL-MRS package can be used on the command line or interactively in the Python language.
Validation of the fitting shows low error in simulation (median error of 11.9%) and in phantom (3.4%). Average correlation between a third-party toolbox (LCModel) and FSL-MRS was high (0.53-0.81) in all three in vivo data sets.
The FSL-MRS toolbox is designed to be flexible and extensible to new forms of spectroscopic acquisitions. Custom fitting models can be specified within the framework for dynamic or multivoxel spectroscopy. It is available as part of the FMRIB Software Library.
Citation
2021. Magn Reson Med, 85(6):2950-2964.
DOI
10.1002/mrm.28630
Free Full Text at Europe PMC
PMC7116822Downloads
Similar content
News
Dr Jeffrey Stedehouder awarded Cambridge NeuroWorks Blue Sky Proof-of-Concept Award
16 September 2026
Preprint
MRC CoRE in RND Output
Distinct In Vivo Electrophysiological Profiles of Mediodorsal Thalamus Subdivisions
Paper
MRC CoRE in RND Output
Modulation of motor cortical theta and gamma oscillations using phase-targeted, closed-loop optogenetic stimulation of local excitatory and inhibitory neurons.
2026. Brain Stimul, 19(2):103034.
Preprint