FSL‐MRS: An end‐to‐end spectroscopy analysis package

Purpose We introduce FSL-MRS, an end-to-end, modular, open-source magnetic resonance spectroscopy analysis toolbox. FSL-MRS provides spectroscopic data conversion, pre-processing, spectral simulation, fitting, quantitation and visualisation. Methods FSL-MRS is modular. FSL-MRS programs operate on data in a standard format (NIfTI) capable of storing single voxel and multi-voxel spectroscopy, including spatial orientation information. FSL-MRS includes tools for pre-processing 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 optimisation 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 datasets (257 SVS and 8 MRSI datasets) at 3T and 7T. Interactive HTML reports are automatically generated by processing and fitting stages of the toolbox. FSL-MRS can be used on the command line or interactively in the Python language. Results Validation of the fitting shows low error in simulation (median error 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 datasets. Conclusion FSL-MRS 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 multi-voxel spectroscopy. FSL-MRS is available as part of the FMRIB Software Library.

[1]  W. K. Hastings,et al.  Monte Carlo Sampling Methods Using Markov Chains and Their Applications , 1970 .

[2]  Peter Jezzard,et al.  Advanced processing and simulation of MRS data using the FID appliance (FID‐A)—An open source, MATLAB‐based toolkit , 2017, Magnetic resonance in medicine.

[3]  D. Altman,et al.  STATISTICAL METHODS FOR ASSESSING AGREEMENT BETWEEN TWO METHODS OF CLINICAL MEASUREMENT , 1986, The Lancet.

[4]  Rolf Gruetter,et al.  MR spectroscopy of the human brain with enhanced signal intensity at ultrashort echo times on a clinical platform at 3T and 7T , 2009, Magnetic resonance in medicine.

[5]  S. Provencher Estimation of metabolite concentrations from localized in vivo proton NMR spectra , 1993, Magnetic resonance in medicine.

[6]  Arvind Caprihan,et al.  Use of tissue water as a concentration reference for proton spectroscopic imaging , 2006, Magnetic resonance in medicine.

[7]  Aaron T. Hess,et al.  Combined fMRI-MRS acquires simultaneous glutamate and BOLD-fMRI signals in the human brain , 2017, NeuroImage.

[8]  Terence W Nixon,et al.  High magnetic field water and metabolite proton T1 and T2 relaxation in rat brain in vivo , 2006, Magnetic resonance in medicine.

[9]  Karl J. Friston,et al.  CHAPTER 2 – Statistical parametric mapping , 2007 .

[10]  A. Henning,et al.  Investigation of the influence of macromolecules and spline baseline in the fitting model of human brain spectra at 9.4T , 2018, Magnetic resonance in medicine.

[11]  Karl Landheer,et al.  Dephasing optimization through coherence order pathway selection (DOTCOPS) for improved crusher schemes in MR spectroscopy , 2018, Magnetic resonance in medicine.

[12]  S. Nash Newton-Type Minimization via the Lanczos Method , 1984 .

[13]  Brian L. Burns,et al.  Density‐weighted concentric rings k‐space trajectory for 1H magnetic resonance spectroscopic imaging at 7 T , 2017, NMR in biomedicine.

[14]  Richard A. E. Edden,et al.  Osprey: Open-source processing, reconstruction & estimation of magnetic resonance spectroscopy data , 2020, Journal of Neuroscience Methods.

[15]  Richard A. E. Edden,et al.  Advanced Hadamard-encoded editing of seven low-concentration brain metabolites: Principles of HERCULES , 2019, NeuroImage.

[16]  Satrajit S. Ghosh,et al.  The brain imaging data structure, a format for organizing and describing outputs of neuroimaging experiments , 2016, Scientific Data.

[18]  Uzay E. Emir,et al.  Brain glutamate in anorexia nervosa: a magnetic resonance spectroscopy case control study at 7 Tesla , 2016, Psychopharmacology.

[19]  Zenon Starčuk,et al.  Quantitation of magnetic resonance spectroscopy signals: the jMRUI software package , 2009 .

[20]  Charles Gasparovic,et al.  Errors in 1H‐MRS estimates of brain metabolite concentrations caused by failing to take into account tissue‐specific signal relaxation , 2018, NMR in biomedicine.

[21]  Matthew D. Robson,et al.  Coil combination for receive array spectroscopy: Are data‐driven methods superior to methods using computed field maps? , 2015, Magnetic resonance in medicine.

[22]  G. Bodenhausen,et al.  Principles of nuclear magnetic resonance in one and two dimensions , 1987 .

[23]  Clare E. Mackay,et al.  Effect of age and the APOE gene on metabolite concentrations in the posterior cingulate cortex , 2017, NeuroImage.

[24]  N. Voets,et al.  Metabolite-cycled density-weighted concentric rings k-space trajectory (DW-CRT) enables high-resolution 1 H magnetic resonance spectroscopic imaging at 3-Tesla , 2018, Scientific Reports.

[25]  Christoph Juchem,et al.  Preprocessing, analysis and quantification in single‐voxel magnetic resonance spectroscopy: experts' consensus recommendations , 2020, NMR in biomedicine.

[26]  Martin Wilson Adaptive Baseline Fitting for 1H MR Spectroscopy Analysis , 2020, bioRxiv.

[27]  Mark W. Woolrich,et al.  Variational Bayesian Inference for a Nonlinear Forward Model , 2020, IEEE Transactions on Signal Processing.

[28]  Gülin Öz,et al.  Regional neurochemical profiles in the human brain measured by 1H MRS at 7 T using local B1 shimming , 2012, NMR in biomedicine.

[29]  Assaf Tal,et al.  What is the optimal schedule for multiparametric MRS? A magnetic resonance fingerprinting perspective , 2019, NMR in biomedicine.

[30]  Karl Landheer,et al.  Magnetic resonance Spectrum simulator (MARSS), a novel software package for fast and computationally efficient basis set simulation , 2019, NMR in biomedicine.

[31]  Wes McKinney,et al.  Data Structures for Statistical Computing in Python , 2010, SciPy.

[32]  Theodoros N. Arvanitis,et al.  A constrained least‐squares approach to the automated quantitation of in vivo 1H magnetic resonance spectroscopy data , 2011, Magnetic resonance in medicine.

[33]  S Van Huffel,et al.  Improved Lanczos algorithms for blackbox MRS data quantitation. , 2002, Journal of magnetic resonance.

[34]  M. Terpstra,et al.  Influence of fitting approaches in LCModel on MRS quantification focusing on age‐specific macromolecules and the spline baseline , 2019, NMR in biomedicine.

[35]  R. Edden,et al.  Gannet: A batch‐processing tool for the quantitative analysis of gamma‐aminobutyric acid–edited MR spectroscopy spectra , 2014, Journal of magnetic resonance imaging : JMRI.

[36]  Peter Jezzard,et al.  Frequency and phase drift correction of magnetic resonance spectroscopy data by spectral registration in the time domain , 2015, Magnetic resonance in medicine.

[37]  Noam Shemesh,et al.  Insights into brain microstructure from in vivo DW-MRS , 2017, NeuroImage.

[38]  Ninon Burgos,et al.  New advances in the Clinica software platform for clinical neuroimaging studies , 2019 .

[39]  Jun Shen,et al.  Fast computation of full density matrix of multispin systems for spatially localized in vivo magnetic resonance spectroscopy , 2017, Medical physics.

[40]  Joel Nothman,et al.  SciPy 1.0-Fundamental Algorithms for Scientific Computing in Python , 2019, ArXiv.

[41]  V. Govindaraju,et al.  Proton NMR chemical shifts and coupling constants for brain metabolites , 2000, NMR in biomedicine.

[42]  Mark W. Woolrich,et al.  Bayesian analysis of neuroimaging data in FSL , 2009, NeuroImage.

[43]  R. Edden,et al.  Comparison of different linear-combination modelling algorithms for short-TE proton spectra , 2020, bioRxiv.

[44]  M. Robson,et al.  Receive array magnetic resonance spectroscopy: Whitened singular value decomposition (WSVD) gives optimal Bayesian solution , 2010, Magnetic resonance in medicine.

[45]  R W Cox,et al.  AFNI: software for analysis and visualization of functional magnetic resonance neuroimages. , 1996, Computers and biomedical research, an international journal.

[46]  U. Klose In vivo proton spectroscopy in presence of eddy currents , 1990, Magnetic resonance in medicine.

[47]  Karl J. Friston,et al.  Statistical parametric mapping , 2013 .

[48]  S. Trattnig,et al.  Clinical High-Resolution 3D-MR Spectroscopic Imaging of the Human Brain at 7 T. , 2019, Investigative radiology.

[49]  Karl Young,et al.  Corrigendum: Proton NMR chemical shifts and coupling constants for brain metabolites. Govindaraju V, Young K, Maudsley AA, NMR Biomed. 2000; 13: 129–153 , 2015, NMR in biomedicine.