A simple command line tool and GUI for computing subtraction ictal SPECT coregistered to MRI (SISCOM). mnisiscom is exclusively intended for research use!
Project description
MNI SISCOM
MNI SISCOM is a Windows/Mac/Linux desktop and command line application for computing Subtraction ictal single-photon emission CT coregistered to MRI (SISCOM). The underlying Python library that implements the functionality of MNI SISCOM is also available on PyPi. Please cite the following paper if you use MNI SISCOM in a paper: [reference to come].
Screenshots
Usage
Input MRI and SPECT volumes in NIfTI (.nii) format are supported. If you have raw DICOM images you can use a tool like dcm2nii (now available with MRIcroGL) to convert them to NIfTI format. Details about each parameter can be viewed by hovering over the label in the desktop app or via mnisiscom --help
for the command line tool. Resulting images will be saved in the selected output folder.
Basic command line tool usage:
mnisiscom -t1 T1.nii -ii interictal_spect.nii -i ictal_spect.nii -o /path/to/output/folder
You can also launch the Desktop GUI from the command line:
mnisiscom_gui
Installation
MNI SISCOM desktop app
Download MNI SISCOM: https://github.com/jeremymoreau/mnisiscom/releases
- Windows: Double click mnisiscom_setup.exe and follow the instructions.
- Mac: Double click mnisiscom.dmg and move mnisiscom.app to your Applications folder
- If you get a notification that
"mnisiscom" can't be opened because it is from an unidentified developer
, right-click on the app and selectOpen
, then click on theOpen
button.
- If you get a notification that
- Linux: Double click on mnisiscom.
- If this doesn't work, you may need to right-click mnisiscom -> select
Properties
-> then thePermissions
tab, and check theAllow executing file as program
box.
- If this doesn't work, you may need to right-click mnisiscom -> select
Note 1: You must also install SPM12 standalone to use MNI SISCOM (SPM is used for SPECT/MRI image coregistration). See below for installation instructions for Windows, Mac, and Linux. Once installed, set the installation path of SPM in the settings menu of MNI SISCOM.
Note 2: Google Chrome or Chromium is also required to use the desktop app interface of MNI SISCOM.
MNI SISCOM command line tool & Python module
If you would like to use the command-line version of mnisiscom or the Python module, you can also install MNI SISCOM from PyPi. If you do not have python 3 yet, the Anaconda Python distribution is recommended: https://www.anaconda.com/distribution/#download-section
To install mnisiscom simply run:
pip install mnisiscom
Note: On Windows you may need to install Visual Studio C++. See this question for more information: https://stackoverflow.com/questions/29846087/microsoft-visual-c-14-0-is-required-unable-to-find-vcvarsall-bat
SPM12 Installation
The standalone version of SPM12 is required for MNI SISCOM to run (it is used for SPECT and MRI image coregistration). For a more complete installation guide, see the SPM website: https://en.wikibooks.org/wiki/SPM/Standalone
Windows
-
Download and install the Microsoft Visual C++ runtime components (
vcredist_x64.exe
) and the MATLAB Compiler Runtime (MCR) for SPM (MCRInstaller.exe
) https://www.fil.ion.ucl.ac.uk/spm/download/restricted/utopia/MCR/win64/- Note: If you are running an older (32 bit) version of Windows, download and install the files from this link instead: https://www.fil.ion.ucl.ac.uk/spm/download/restricted/utopia/MCR/win32/
-
Download the current version of SPM12 standalone (e.g.
spm12_r7487.zip
) https://www.fil.ion.ucl.ac.uk/spm/download/restricted/utopia/ -
Unzip the downloaded file and move the
spm12
folder to where you would like to save it (e.g. inC:\Users\YourUsername\spm12
) -
Start SPM12 to verify that it is properly installed (SPM12 will also need to unpack some files the first time it is run). Reboot your computer first if you run into any errors.
- Open the spm12 folder (e.g. in
C:\Users\YourUsername\spm12
) and double click onspm12_win64.exe
- Open the spm12 folder (e.g. in
Mac OS
-
Download and install the MATLAB Compiler Runtime (MCR) for SPM (
MCRInstaller.dmg
) https://www.fil.ion.ucl.ac.uk/spm/download/restricted/utopia/MCR/maci64/ -
Download the current version of SPM12 standalone (e.g.
spm12_r7487.zip
) https://www.fil.ion.ucl.ac.uk/spm/download/restricted/utopia/ -
Unzip the downloaded file and move the
spm12
folder to where you would like to save it (e.g. in/Users/YourUsername/spm12
) -
Unzip the
spm12_maci64.zip
file in thespm12
folder -
Start SPM12 to verify that it is properly installed (SPM12 will also need to unpack some files the first time it is run). Reboot your computer first if you run into any errors.
- In your Applications folder go to
/Applications/Utilities
and open the Terminal app - Type in
cd /path/to/where/you/put/the/spm12/folder
(e.g.cd /Users/YourUsername/spm12
) - Then enter
./run_spm12.sh /Applications/MATLAB/MATLAB_Compiler_Runtime/v713/
. Note: you may need to change/Applications/MATLAB/MATLAB_Compiler_Runtime/v713/
if you installed the MATLAB Compiler Runtime in a different location in step 1.
- In your Applications folder go to
Linux
-
Download and install the MATLAB Compiler Runtime (MCR) for SPM (
MCRInstaller.bin
) https://www.fil.ion.ucl.ac.uk/spm/download/restricted/utopia/MCR/glnxa64/- Note: If you are running a 32-bit Linux distro, download and install the file from this link instead: https://www.fil.ion.ucl.ac.uk/spm/download/restricted/utopia/MCR/glnx86/
-
Download the current version of SPM12 standalone (e.g.
spm12_r7487.zip
) https://www.fil.ion.ucl.ac.uk/spm/download/restricted/utopia/ -
Unzip the downloaded file and move the
spm12
folder to where you would like to save it (e.g. in/home/YourUsername/spm12
) -
Start SPM12 to verify that it is properly installed (SPM12 will also need to unpack some files the first time it is run). Reboot your computer first if you run into any errors.
- Open a terminal
- Type in
cd /path/to/where/you/put/the/spm12/folder
(e.g.cd /home/YourUsername/spm12
) - Then enter
./run_spm12.sh /usr/local/MATLAB/MATLAB_Compiler_Runtime/v713/
. Note: you may need to change/usr/local/MATLAB/MATLAB_Compiler_Runtime/v713/
if you installed the MATLAB Compiler Runtime in a different location in step 1.
Note: If you have trouble installing SPM12 or the Matlab MCR for any reason, you can try downloading one of the more recent SPM12 standalone releases from here. In which case, you will need to download and install the matching Matlab MCR from the MathWorks website (e.g. if you download spm12_r7487_*_R2019b.zip, then download and install MCR version R2019b).
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file mnisiscom-0.4.0.tar.gz
.
File metadata
- Download URL: mnisiscom-0.4.0.tar.gz
- Upload date:
- Size: 1.8 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.6.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 64c0f3759acf76e918e7bccb859a49cade7a616c51216a6b779443cf62736424 |
|
MD5 | d756d4c67eacbc57e582a51c9af577a4 |
|
BLAKE2b-256 | bb7155d055fdd5c4e7aa2b0d54e721416da0832ceacf7dc7af40a3f641af171c |
File details
Details for the file mnisiscom-0.4.0-py3-none-any.whl
.
File metadata
- Download URL: mnisiscom-0.4.0-py3-none-any.whl
- Upload date:
- Size: 1.8 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.6.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0130f78a84e44266fa975620f1f44bfdad10b94e0a02fb2fecd35ebdffa752c5 |
|
MD5 | 5f9110249e3e8bed21535115f279cf19 |
|
BLAKE2b-256 | a8630df1aa889a5a10766f7f40527250c6da47036ed51cce4cf892dee049dbae |