You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Read and display NIDM-Results packs in the SPM environment.
Usage
To view NIDM results using the NIDM results viewer run the following
Open SPM fMRI from the Matlab command line.
Click on Batch.
Fig. 1. The SPM menu.
Click on SPM -> Tools -> NIDM-Results Display
Fig. 2. The SPM option in the batch window.
Enter the NIDM-Results file you wish to view and where you wish the output html to be stored. You can specify which contrasts to view here or the 'select' option can be chosen to open the contrast window.
Fig. 3. The NIDM-Results batch window.
If the 'select' option was chosen and there are multiple contrasts stored inside the NIDM-Results pack, the contrast window will open. Select the contrasts you wish to view and click done.
Clone this repository into the SPM toolboxes folder (into the below folder).
<full path to SPM>/toolbox/
Testing
Currently, two versions of the test suite exist. One is based on the matlab unittesting framework and the other is based on the MOxUnit library.
The matlab unittesting framework tests are recommended for testing the code locally in Matlab as they perform much faster and do not require any additional installation. The MOxUnit tests are recommended for testing the code locally in Octave and are also used for the Travis CI. Below is a description of how to run each test set.
Matlab Unittesting Framework
Add the filepath to the 'tests/matlabunit_testsuite' folder. In the Matlab commandline type;