qMRlab is a powerful, open source, scalable, easy to use and intuitive software for qMRI data simulation, fitting and analysis. The software consists of two parts:
- a qMRI data fitting and visualization interface
- a qMT data simulator
qMRLab is a fork from the initial project 'qMTLab': For a quick introduction to qMTLab functionnalities, see the 'qMTLab presentation e-poster', or alternatively you can view it on 'YouTube'.
The simulation part allows end users to easily simulate qMT data using the above described methods, evaluate how well these models perform under known parameters input, determine the most appropriate acquisition protocol and evaluate how fitting constraints impact the results. The data fitting part provides a simple interface to import real-world qMT data, fit them using the selected fitting procedure, and visualize the resulting parameters maps.
Please view 'ReadMe.docx' for details.
Please report any bug or suggestions in github.
-
MATLAB_R2013a or later
After installation, we strongly recommend that you run all tests in this repository (see Test section below) to ensure correct installation and code compatibility with your operating system and MATLAB version.
If you have git available on a command-line interface (e.g. Terminal on Mac OSX, Git Shell on Windows), the installation can be completed using a few quick commands.
-
In the command-line interface, navigate (
cd
) to the directory that you want to install qMRLab -
Clone the directory:
git clone https://github.com/neuropoly/qMRLab.git
-
If you have NODDI already on installed, ensure that it is included in your default MATLAB path, or add it in startup.m.
-
If you don't have NODDI installed, download it here (signup required), and extract the file in the folder qMRLab/External/.
-
Open MATLAB, got to the qMRLab folder and run
startup
. -
To start a qMRLab session, run
qMRLab
.
The latest stable version of qMRLab can be downloaded freely here.
-
Extract the downloaded file to the directory you want to install qMRLab.
-
Follow the instructions from the previous section from the NODDI point onward.
After installing the software, we suggest that the you evaluate all the test cases for the software.
To run all tests, from MATLAB (assuming you are already in the qMRLab directory), execute the following command.
result = runtests(pwd, 'Recursively', true)
Any failed test should be resolved prior to starting a workflow. Users are invited to raise the issue on the GitHub repository: https://github.com/neuropoly/qMRLab/issues
During development of new features or bug-fixing, it may be preferable to run a test suite relevant to a specific category. To do so, go to the 'test' folder
cd Test/
and run the following command:
result = runTestSuite('Tag')
substituting 'Tag'
for one of the following test tags. If you develop new tests and give it a tag which isn't on this list,
please update the README.md file accordingly.
Current Test tags: 'Unit', 'Integration', 'Demo', 'SPGR', 'bSSFP', 'SIRFSE'.
If you use qMRLab in you work, please cite:
Cabana, J.-F., Gu, Y., Boudreau, M., Levesque, I. R., Atchia, Y., Sled, J. G., Narayanan, S., Arnold, D. L., Pike, G. B., Cohen-Adad, J., Duval, T., Vuong, M.-T. and Stikov, N. (2016), Quantitative magnetization transfer imaging made easy with qMTLab: Software for data simulation, analysis, and visualization. Concepts Magn. Reson.. doi: 10.1002/cmr.a.21357