# LWFIT
LWFIT code for GABA quantification from MEGA-PRESS magnetic resonance spectra. It is
based on a peak integration approach in the frequency domain to estimate the
concentration of the metabolites.
The code requires matlab to run. It was originally developed using matlab 2017b and
has also been tested with Matlab R2021a (9.10.0.1602886) under Linux. To use the code,
start with the Matlab live scripts Notebook-XX.mlx which show how to use the individual
functions. Further details are in the comments of the relevant functions.
LWFIT aligns the edit-off and difference spectra so that the main NAA peak is
precisely at 2.01 ppm and then calculates the areas for
* NAA: 1.91 - 2.11 ppm, difference,
* Cr: 2.90 - 3.10 ppm, edit-off,
* GABA: 2.90 - 3.12 ppm, difference,
* Glu and Gln, GLX1: 2.25 - 2.45 ppm, difference,
* and GLX2: 3.65 - 3.85 ppm, difference.
It uses the real frequency-domain spectra and numerically integrates the peaks
using piecewise-linear functions over the indicated fixed ppm ranges, selected to
minimise contamination from other signals. Lorentzian, Gaussian and spline fitting
and several baseline fitting and filtering methods were explored but initial testing
indicated that numerical integration with minimal pre-processing yielded the most
accurate estimation results of the methods considered. While more aggressive noise
filters aesthetically improve the quality of the spectra, their application tends to
exacerbate underestimation of GABA, especially for weak signals, suggesting that
filtering eliminates some of the GABA signal present in the data. So we only
perform zero-filling (4096 points) and a frequency shift to align the NAA peak.
The code has been used in the following paper and more details are available there:
CW Jenkins, M Chandler, FC Langbein, SM Shermer. **Benchmarking GABA Quantification:
A Ground Truth Data Set and Comparative Analysis of TARQUIN, LCModel, jMRUI and
Gannet.** [[arxiv:1909.02163]](https://arxiv.org/abs/1909.02163)
The analysis results of LWFIT used in that paper for a specific dataset, using
the Matlab live scripts above are in the wiki, with all results computed and also
converted to PDF.
## Locations
The code is developed and maintained on [qyber\\black](https://qyber.black)
at https://qyber.black/mrs/code-lwfit
This code is mirrored at
* https://github.com/xis10z/Code-LWFIT
The mirrors are only for convenience, accessibility and backup.
## People
* [Sophie M Shermer](https://qyber.black/lw1660), [Physics](https://www.swansea.ac.uk/physics), [Swansea University](https://www.swansea.ac.uk/)
* [Christopher W Jenkins](https://qyber.black/chris), [Physics](https://www.swansea.ac.uk/physics) and [Centre for Nanohealth](https://www.swansea.ac.uk/nanohealth/facilities/) and [Clinical Imaging Unit](https://www.swansea.ac.uk/medicine/research/researchfacilities/jointclinicalresearchfacility/clinicalimagingfacility/), [Swansea University](https://www.swansea.ac.uk/); [Cardiff University Brain Research Imaging Centre (CUBRIC)](https://www.cardiff.ac.uk/cardiff-university-brain-research-imaging-centre)
* [Frank C Langbein](https://qyber.black/xis10z), [School of Computer Science and Informatics](https://www.cardiff.ac.uk/computer-science), [Cardiff University](https://www.cardiff.ac.uk/); [langbein.org](https://langbein.org/)
* [Max Chandler](https://qyber.black/max), [School of Computer Science and Informatics](https://www.cardiff.ac.uk/computer-science), [Cardiff University](https://www.cardiff.ac.uk/)
## Citation
SM Shermer, FC Langbein, CW Jenkins, M Chandler. **Code - LWFIT**. Version 1.0. _FigShare_, Software. May 2021.
[[DOI:10.6084/m9.figshare.14540757.v1]](https://doi.org/10.6084/m9.figshare.14540757.v1)
[[DEV:https://qyber.black/mrs/code-lwfit]](https://qyber.black/mrs/code-lwfit)
[[MIRROR:https://github.com/xis10z/Code-LWFIT/tree/v1.0]](https://github.com/xis10z/Code-LWFIT/tree/v1.0)
## License
Copyright (C) 2019-2021, Sophie M Shermer, Swansea University
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
weixin_38656297
- 粉丝: 3
- 资源: 906
最新资源
- Python培训之美眉图片下载爬虫 03 某列表页内容分析理论分析.flv
- 20241208-EcoEye:基于深度学习的植物病理图像数据集分类.7z
- 抽水蓄能电站的最佳调度方案研究 关键词:抽水蓄能 最佳调度 粒子群算法 参考文献:抽水蓄能电站的最佳调度方案研究 非完全复献 仿真软件:matlab 主要内容:研究抽水蓄能机组调峰填谷的功能,目标是从
- Canoe 学习资料,快速入门
- 基于java学生就业管理系统.zip
- Python信用卡数字识别项目
- 安卓开发-连连看小游戏Android-作业-设计-Android studio
- 毕业设计-基于python的时间序列分析的降雨量预测(毕业全套文档+源码).zip
- 用于去除盐和胡椒噪声的指数加权均值滤波器-EWmF for Salt and Pepper Noise Removal-matlab
- 课程设计-信息管理系统-C语言
- 英飞凌ModusToolbox工具下载
- 使用Newton-Raphson求解方程x+exp(x)=0 -matlab
- C#实现ModbusRTU Master从站串口调试工具源码 功能如下 -Visual Studio 2019开发 -.NET Framwork4.8框架 -支持功能码:03,04,05,06,15
- 使用PDE模型探索静电问题解决方案的实时脚本-泊松方程PDE模型-matlab
- 基于稀疏自适应逐级正交匹配追踪的大地电磁数据降噪方法 算法运行环境为MATLAB R2018A,执行稀疏自适应逐级正交匹配追踪的大地电磁数据降噪 压缩包=数据+代码+参考 算法可迁移至金融时间序列
- matlab代码:电动汽车充电负荷时空分布预测:路-网耦合,时-空分布,交通流,环境温度 代码简介:电动汽车充电负荷预测是研究电动汽车与电网互动的重要前提 针对交通路网信息对电动汽车行驶规律的 影响
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
评论0