-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #59 from sebastientourbier/enh-test-integration-b0…
…-model ENH: Add integration test with data for EddyMotionEstimator using the trivial b0 model Former-commit-id: 8de089f
- Loading branch information
Showing
3 changed files
with
69 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Data for unit and integration tests | ||
|
||
This folder contains several useful data sets for testing. | ||
|
||
## Realistic head motion parameters: `head-motion-parameters.aff12.1D` | ||
|
||
This file contains head motion parameters estimated on a functional MRI dataset, using OpenNeuro's [ds005](https://openneuro.org/datasets/ds000005/versions/00001). | ||
In particular, `ds000005/sub-01/func/sub-01_task-mixedgamblestask_run-01_bold.nii.gz` is used. | ||
|
||
The command line executed is: | ||
``` | ||
3dvolreg -prefix /tmp/sub-01_task-mixedgamblestask_run-01_desc-motioncorr_bold.nii.gz -base 120 -twopass -1Dmatrix_save eddymotion/tests/data/head-motion-parameters /data/ds000005/sub-01/func/sub-01_task-mixedgamblestask_run-01_bold.nii.gz | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# 3dvolreg matrices (DICOM-to-DICOM, row-by-row): | ||
0.999999 0.000621377 0.00132266 0.0424647 -0.000623775 0.999998 0.00181321 -0.0279396 -0.00132153 -0.00181403 0.999997 0.150516 | ||
0.999999 0.000596457 0.00127097 0.0313117 -0.000598522 0.999999 0.00162533 3.000345355 -0.00127 -0.00162609 0.999998 0.141028 | ||
0.999999 0.000677807 0.00117423 0.0243551 -0.000679444 0.999999 0.00139438 -0.0271195 -0.00117329 -0.00139518 0.999998 0.174274 | ||
0.999999 0.000648275 0.00119049 0.023609 -0.000650011 0.999999 0.00145863 -0.00573626 -0.00118954 -0.0014594 0.999998 0.16943 | ||
0.999999 0.000730615 0.00130677 0.0358384 -0.000733053 0.999998 0.00186664 -0.0109101 -2.0013054 -0.0018676 0.999997 0.173862 | ||
0.999999 0.000621841 0.00129331 0.0366233 -0.0006236 0.999999 0.00136039 0.0497668 -0.00129246 -0.0013612 0.999998 0.127657 | ||
0.999999 0.000591788 0.0012498 0.035403 -0.000593384 0.999999 0.00127712 -1.0389701 -0.00124904 -0.00127786 0.999998 0.145686 | ||
0.999999 0.000631818 0.00112365 0.0267982 -0.000633368 0.999999 0.00137974 0.0153343 -0.00112278 -0.00138045 0.999998 0.132637 | ||
0.999999 0.000598133 0.00104135 0.0273626 -0.000599306 0.999999 0.00112695 -0.0149011 -0.00104067 -0.00112758 0.999999 0.131272 | ||
0.999999 0.000677108 0.000929935 0.0238968 -0.000678162 0.999999 0.00113321 -0.0112583 -0.000929167 -0.00113384 0.999999 0.127557 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters