rpipe 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/.document +5 -0
- data/.gitignore +23 -0
- data/LICENSE +20 -0
- data/README +0 -0
- data/README.rdoc +33 -0
- data/Rakefile +78 -0
- data/VERSION +1 -0
- data/bin/create_driver.rb +79 -0
- data/bin/rpipe +131 -0
- data/bin/swallow_batch_run.rb +21 -0
- data/lib/core_additions.rb +5 -0
- data/lib/custom_methods/JohnsonMerit220Visit1Preproc.m +26 -0
- data/lib/custom_methods/JohnsonMerit220Visit1Preproc.rb +43 -0
- data/lib/custom_methods/JohnsonMerit220Visit1Preproc_job.m +80 -0
- data/lib/custom_methods/JohnsonMerit220Visit1Stats.m +74 -0
- data/lib/custom_methods/JohnsonMerit220Visit1Stats.rb +63 -0
- data/lib/custom_methods/JohnsonMerit220Visit1Stats_job.m +63 -0
- data/lib/custom_methods/JohnsonTbiLongitudinalSnodPreproc.m +26 -0
- data/lib/custom_methods/JohnsonTbiLongitudinalSnodPreproc.rb +41 -0
- data/lib/custom_methods/JohnsonTbiLongitudinalSnodPreproc_job.m +69 -0
- data/lib/custom_methods/JohnsonTbiLongitudinalSnodStats.m +76 -0
- data/lib/custom_methods/JohnsonTbiLongitudinalSnodStats.rb +67 -0
- data/lib/custom_methods/JohnsonTbiLongitudinalSnodStats_job.m +59 -0
- data/lib/custom_methods/ReconWithHello.rb +7 -0
- data/lib/default_logger.rb +13 -0
- data/lib/default_methods/default_preproc.rb +76 -0
- data/lib/default_methods/default_recon.rb +80 -0
- data/lib/default_methods/default_stats.rb +94 -0
- data/lib/default_methods/recon/physionoise_helper.rb +69 -0
- data/lib/default_methods/recon/raw_sequence.rb +109 -0
- data/lib/generators/job_generator.rb +36 -0
- data/lib/generators/preproc_job_generator.rb +31 -0
- data/lib/generators/recon_job_generator.rb +76 -0
- data/lib/generators/stats_job_generator.rb +70 -0
- data/lib/generators/workflow_generator.rb +128 -0
- data/lib/global_additions.rb +18 -0
- data/lib/logfile.rb +310 -0
- data/lib/matlab_helpers/CreateFunctionalVolumeStruct.m +6 -0
- data/lib/matlab_helpers/import_csv.m +32 -0
- data/lib/matlab_helpers/matlab_queue.rb +37 -0
- data/lib/matlab_helpers/prepare_onsets_xls.m +30 -0
- data/lib/rpipe.rb +254 -0
- data/rpipe.gemspec +177 -0
- data/spec/generators/preproc_job_generator_spec.rb +27 -0
- data/spec/generators/recon_job_generator_spec.rb +33 -0
- data/spec/generators/stats_job_generator_spec.rb +50 -0
- data/spec/generators/workflow_generator_spec.rb +97 -0
- data/spec/helper_spec.rb +40 -0
- data/spec/integration/johnson.merit220.visit1_spec.rb +47 -0
- data/spec/integration/johnson.tbi.longitudinal.snod_spec.rb +48 -0
- data/spec/logfile_spec.rb +96 -0
- data/spec/matlab_queue_spec.rb +40 -0
- data/spec/merit220_stats_spec.rb +81 -0
- data/spec/physio_spec.rb +98 -0
- data/test/drivers/merit220_workflow_sample.yml +15 -0
- data/test/drivers/mrt00000.yml +65 -0
- data/test/drivers/mrt00015.yml +62 -0
- data/test/drivers/mrt00015_hello.yml +41 -0
- data/test/drivers/mrt00015_withphys.yml +81 -0
- data/test/drivers/tbi000.yml +129 -0
- data/test/drivers/tbi000_separatevisits.yml +137 -0
- data/test/drivers/tmp.yml +58 -0
- data/test/fixtures/faces3_recognitionA.mat +0 -0
- data/test/fixtures/faces3_recognitionA.txt +86 -0
- data/test/fixtures/faces3_recognitionA_equal.csv +25 -0
- data/test/fixtures/faces3_recognitionA_unequal.csv +21 -0
- data/test/fixtures/faces3_recognitionB_incmisses.txt +86 -0
- data/test/fixtures/physionoise_regressors/EPI__fMRI_Task1_CPd3R_40.txt +13360 -0
- data/test/fixtures/physionoise_regressors/EPI__fMRI_Task1_CPd3_40.txt +13360 -0
- data/test/fixtures/physionoise_regressors/EPI__fMRI_Task1_CPttl_40.txt +13360 -0
- data/test/fixtures/physionoise_regressors/EPI__fMRI_Task1_CRTd3R_40.txt +13360 -0
- data/test/fixtures/physionoise_regressors/EPI__fMRI_Task1_CRTd3_40.txt +13360 -0
- data/test/fixtures/physionoise_regressors/EPI__fMRI_Task1_CRTttl_40.txt +13360 -0
- data/test/fixtures/physionoise_regressors/EPI__fMRI_Task1_HalfTR_CRTd3R_40.txt +334 -0
- data/test/fixtures/physionoise_regressors/EPI__fMRI_Task1_HalfTR_CRTd3_40.txt +334 -0
- data/test/fixtures/physionoise_regressors/EPI__fMRI_Task1_HalfTR_CRTttl_40.txt +334 -0
- data/test/fixtures/physionoise_regressors/EPI__fMRI_Task1_HalfTR_RRT_40.txt +334 -0
- data/test/fixtures/physionoise_regressors/EPI__fMRI_Task1_HalfTR_RVT_40.txt +334 -0
- data/test/fixtures/physionoise_regressors/EPI__fMRI_Task1_HalfTR_card_spline_40.txt +334 -0
- data/test/fixtures/physionoise_regressors/EPI__fMRI_Task1_HalfTR_resp_spline_40.txt +334 -0
- data/test/fixtures/physionoise_regressors/EPI__fMRI_Task1_RRT_40.txt +9106 -0
- data/test/fixtures/physionoise_regressors/EPI__fMRI_Task1_RVT_40.txt +9106 -0
- data/test/fixtures/physionoise_regressors/EPI__fMRI_Task1_TR_CRTd3R_40.txt +167 -0
- data/test/fixtures/physionoise_regressors/EPI__fMRI_Task1_TR_CRTd3_40.txt +167 -0
- data/test/fixtures/physionoise_regressors/EPI__fMRI_Task1_TR_CRTttl_40.txt +167 -0
- data/test/fixtures/physionoise_regressors/EPI__fMRI_Task1_TR_RRT_40.txt +167 -0
- data/test/fixtures/physionoise_regressors/EPI__fMRI_Task1_TR_RVT_40.txt +167 -0
- data/test/fixtures/physionoise_regressors/EPI__fMRI_Task1_TR_card_spline_40.txt +167 -0
- data/test/fixtures/physionoise_regressors/EPI__fMRI_Task1_TR_resp_spline_40.txt +167 -0
- data/test/fixtures/physionoise_regressors/EPI__fMRI_Task1_card_spline_40.txt +13360 -0
- data/test/fixtures/physionoise_regressors/EPI__fMRI_Task1_resp_spline_40.txt +9106 -0
- data/test/fixtures/physionoise_regressors/EPI__fMRI_Task1_resp_spline_downsampled_40.txt +9106 -0
- data/test/fixtures/ruport_summary.yml +123 -0
- data/test/fixtures/valid_scans.yaml +35 -0
- data/test/helper.rb +10 -0
- data/test/test_dynamic_method_inclusion.rb +10 -0
- data/test/test_includes.rb +11 -0
- data/test/test_integrative_johnson.merit220.visit1.rb +31 -0
- data/test/test_preproc.rb +11 -0
- data/test/test_recon.rb +11 -0
- data/test/test_rpipe.rb +19 -0
- data/vendor/output_catcher.rb +93 -0
- data/vendor/trollop.rb +781 -0
- metadata +260 -0
@@ -0,0 +1,167 @@
|
|
1
|
+
128.433522
|
2
|
+
1185.880280
|
3
|
+
1427.742146
|
4
|
+
1041.812036
|
5
|
+
725.949771
|
6
|
+
408.827322
|
7
|
+
423.847744
|
8
|
+
437.010977
|
9
|
+
473.800481
|
10
|
+
390.910519
|
11
|
+
234.094067
|
12
|
+
97.621277
|
13
|
+
116.759790
|
14
|
+
101.750739
|
15
|
+
171.393899
|
16
|
+
257.696544
|
17
|
+
347.657439
|
18
|
+
258.719114
|
19
|
+
772.846598
|
20
|
+
967.433945
|
21
|
+
769.082335
|
22
|
+
751.230024
|
23
|
+
629.553192
|
24
|
+
441.432334
|
25
|
+
393.245602
|
26
|
+
494.159804
|
27
|
+
567.967665
|
28
|
+
572.681175
|
29
|
+
557.750360
|
30
|
+
504.148043
|
31
|
+
455.502233
|
32
|
+
378.042603
|
33
|
+
281.209040
|
34
|
+
326.207493
|
35
|
+
524.930181
|
36
|
+
549.755832
|
37
|
+
430.449096
|
38
|
+
194.832219
|
39
|
+
503.621156
|
40
|
+
1008.339146
|
41
|
+
658.754141
|
42
|
+
409.013761
|
43
|
+
382.101599
|
44
|
+
493.108454
|
45
|
+
515.126062
|
46
|
+
492.135854
|
47
|
+
470.714530
|
48
|
+
439.564873
|
49
|
+
377.950391
|
50
|
+
316.600228
|
51
|
+
244.968283
|
52
|
+
210.701976
|
53
|
+
258.120251
|
54
|
+
290.431589
|
55
|
+
170.711429
|
56
|
+
202.873732
|
57
|
+
459.889781
|
58
|
+
390.062488
|
59
|
+
298.112811
|
60
|
+
268.593947
|
61
|
+
237.872001
|
62
|
+
243.868675
|
63
|
+
270.030852
|
64
|
+
280.588353
|
65
|
+
273.278563
|
66
|
+
247.682892
|
67
|
+
175.462548
|
68
|
+
137.113808
|
69
|
+
177.539390
|
70
|
+
249.635250
|
71
|
+
275.193735
|
72
|
+
281.228620
|
73
|
+
281.856428
|
74
|
+
311.121897
|
75
|
+
292.712493
|
76
|
+
221.262222
|
77
|
+
287.839589
|
78
|
+
493.144259
|
79
|
+
593.497608
|
80
|
+
558.874196
|
81
|
+
462.639282
|
82
|
+
428.271398
|
83
|
+
493.967493
|
84
|
+
543.151147
|
85
|
+
512.528333
|
86
|
+
375.618345
|
87
|
+
270.604969
|
88
|
+
293.118723
|
89
|
+
310.211100
|
90
|
+
176.761402
|
91
|
+
92.966235
|
92
|
+
0.000000
|
93
|
+
153.973065
|
94
|
+
427.898605
|
95
|
+
271.129213
|
96
|
+
113.404651
|
97
|
+
459.170971
|
98
|
+
915.283497
|
99
|
+
562.572963
|
100
|
+
363.419860
|
101
|
+
427.953676
|
102
|
+
457.539643
|
103
|
+
370.479528
|
104
|
+
328.517008
|
105
|
+
309.190695
|
106
|
+
317.159054
|
107
|
+
289.006566
|
108
|
+
286.164144
|
109
|
+
271.601880
|
110
|
+
273.298946
|
111
|
+
249.320997
|
112
|
+
229.059960
|
113
|
+
184.450769
|
114
|
+
151.897283
|
115
|
+
153.162094
|
116
|
+
236.536234
|
117
|
+
332.621194
|
118
|
+
259.713239
|
119
|
+
52.710268
|
120
|
+
177.019978
|
121
|
+
405.383874
|
122
|
+
310.913517
|
123
|
+
250.463326
|
124
|
+
449.599280
|
125
|
+
574.395610
|
126
|
+
543.959817
|
127
|
+
455.560617
|
128
|
+
372.189179
|
129
|
+
365.586547
|
130
|
+
340.830029
|
131
|
+
317.397203
|
132
|
+
294.449615
|
133
|
+
166.052209
|
134
|
+
174.702074
|
135
|
+
632.191152
|
136
|
+
668.835784
|
137
|
+
338.792165
|
138
|
+
223.467076
|
139
|
+
259.113690
|
140
|
+
345.817101
|
141
|
+
236.328161
|
142
|
+
194.164916
|
143
|
+
785.593855
|
144
|
+
738.822703
|
145
|
+
581.124175
|
146
|
+
477.403095
|
147
|
+
286.796740
|
148
|
+
262.694554
|
149
|
+
362.712944
|
150
|
+
445.922313
|
151
|
+
439.056585
|
152
|
+
433.957823
|
153
|
+
306.656143
|
154
|
+
249.436386
|
155
|
+
154.125079
|
156
|
+
232.711776
|
157
|
+
457.703963
|
158
|
+
447.306314
|
159
|
+
381.461507
|
160
|
+
228.388533
|
161
|
+
151.000621
|
162
|
+
198.451385
|
163
|
+
286.345454
|
164
|
+
317.964546
|
165
|
+
310.010140
|
166
|
+
239.494744
|
167
|
+
228.270196
|
@@ -0,0 +1,167 @@
|
|
1
|
+
259.918496
|
2
|
+
224.805470
|
3
|
+
263.634490
|
4
|
+
367.831898
|
5
|
+
221.369190
|
6
|
+
281.647248
|
7
|
+
412.223446
|
8
|
+
364.529324
|
9
|
+
294.892528
|
10
|
+
334.558989
|
11
|
+
294.525074
|
12
|
+
297.696118
|
13
|
+
431.091310
|
14
|
+
327.027670
|
15
|
+
307.497791
|
16
|
+
257.349765
|
17
|
+
333.317783
|
18
|
+
416.159681
|
19
|
+
325.843435
|
20
|
+
326.326225
|
21
|
+
498.482908
|
22
|
+
239.282500
|
23
|
+
249.440814
|
24
|
+
286.844388
|
25
|
+
268.329675
|
26
|
+
319.296816
|
27
|
+
351.151525
|
28
|
+
352.256447
|
29
|
+
244.991855
|
30
|
+
303.810389
|
31
|
+
308.313275
|
32
|
+
431.239335
|
33
|
+
318.514098
|
34
|
+
279.180167
|
35
|
+
265.774841
|
36
|
+
307.358220
|
37
|
+
430.189110
|
38
|
+
354.616576
|
39
|
+
356.894829
|
40
|
+
290.718492
|
41
|
+
294.408408
|
42
|
+
240.558521
|
43
|
+
325.288849
|
44
|
+
346.806549
|
45
|
+
355.802971
|
46
|
+
240.817197
|
47
|
+
297.989694
|
48
|
+
288.466731
|
49
|
+
422.765878
|
50
|
+
343.251312
|
51
|
+
294.350757
|
52
|
+
347.586066
|
53
|
+
274.319194
|
54
|
+
335.422779
|
55
|
+
291.678619
|
56
|
+
247.666383
|
57
|
+
354.420872
|
58
|
+
360.935494
|
59
|
+
337.165361
|
60
|
+
352.212581
|
61
|
+
270.455410
|
62
|
+
424.823375
|
63
|
+
343.868622
|
64
|
+
255.708432
|
65
|
+
294.700947
|
66
|
+
310.736076
|
67
|
+
357.565024
|
68
|
+
371.328492
|
69
|
+
311.993032
|
70
|
+
321.624901
|
71
|
+
256.407037
|
72
|
+
395.729924
|
73
|
+
307.521266
|
74
|
+
412.715431
|
75
|
+
335.366803
|
76
|
+
338.182784
|
77
|
+
265.401068
|
78
|
+
302.181657
|
79
|
+
276.115414
|
80
|
+
379.333147
|
81
|
+
229.408620
|
82
|
+
335.510306
|
83
|
+
356.129487
|
84
|
+
305.936220
|
85
|
+
508.681670
|
86
|
+
238.844479
|
87
|
+
264.639131
|
88
|
+
322.693363
|
89
|
+
345.888759
|
90
|
+
280.149046
|
91
|
+
345.818695
|
92
|
+
293.734933
|
93
|
+
407.138329
|
94
|
+
307.749189
|
95
|
+
290.582389
|
96
|
+
342.608330
|
97
|
+
286.674946
|
98
|
+
300.649558
|
99
|
+
399.444170
|
100
|
+
347.224624
|
101
|
+
282.824322
|
102
|
+
319.428437
|
103
|
+
302.682825
|
104
|
+
371.220062
|
105
|
+
360.460553
|
106
|
+
234.119922
|
107
|
+
385.178246
|
108
|
+
467.769674
|
109
|
+
244.133710
|
110
|
+
200.612762
|
111
|
+
278.342377
|
112
|
+
306.477600
|
113
|
+
308.735033
|
114
|
+
350.820161
|
115
|
+
451.249336
|
116
|
+
281.446579
|
117
|
+
252.913805
|
118
|
+
264.565410
|
119
|
+
410.233541
|
120
|
+
326.438393
|
121
|
+
334.822921
|
122
|
+
310.019377
|
123
|
+
306.807041
|
124
|
+
259.791537
|
125
|
+
335.681170
|
126
|
+
271.316766
|
127
|
+
477.338502
|
128
|
+
598.350867
|
129
|
+
82.911610
|
130
|
+
216.987235
|
131
|
+
213.959520
|
132
|
+
347.798117
|
133
|
+
303.213275
|
134
|
+
291.866092
|
135
|
+
387.119753
|
136
|
+
358.270950
|
137
|
+
306.690437
|
138
|
+
437.368265
|
139
|
+
280.020882
|
140
|
+
370.975526
|
141
|
+
273.698234
|
142
|
+
188.805514
|
143
|
+
316.936008
|
144
|
+
350.007339
|
145
|
+
584.508715
|
146
|
+
275.649221
|
147
|
+
126.715273
|
148
|
+
0.000000
|
149
|
+
459.468972
|
150
|
+
463.631452
|
151
|
+
441.560276
|
152
|
+
393.207970
|
153
|
+
99.997569
|
154
|
+
552.661570
|
155
|
+
256.455403
|
156
|
+
331.989554
|
157
|
+
289.759544
|
158
|
+
400.029289
|
159
|
+
297.598747
|
160
|
+
368.280638
|
161
|
+
326.681394
|
162
|
+
342.964901
|
163
|
+
268.359316
|
164
|
+
395.096980
|
165
|
+
309.115484
|
166
|
+
281.805552
|
167
|
+
350.296885
|
@@ -0,0 +1,167 @@
|
|
1
|
+
928.703084
|
2
|
+
2106.793111
|
3
|
+
74.331027
|
4
|
+
1249.109389
|
5
|
+
2314.910902
|
6
|
+
2230.810457
|
7
|
+
477.261764
|
8
|
+
1768.978556
|
9
|
+
1663.947239
|
10
|
+
535.641413
|
11
|
+
1940.455031
|
12
|
+
1593.491406
|
13
|
+
1845.897367
|
14
|
+
1446.112374
|
15
|
+
1693.419534
|
16
|
+
1353.872853
|
17
|
+
1848.440061
|
18
|
+
1907.535285
|
19
|
+
511.972763
|
20
|
+
454.493471
|
21
|
+
2073.869365
|
22
|
+
503.031687
|
23
|
+
0.000000
|
24
|
+
1991.725694
|
25
|
+
796.841172
|
26
|
+
1939.261826
|
27
|
+
1474.493004
|
28
|
+
444.657750
|
29
|
+
2327.189774
|
30
|
+
2379.724393
|
31
|
+
1678.576852
|
32
|
+
328.098446
|
33
|
+
1949.587220
|
34
|
+
726.115740
|
35
|
+
2446.522199
|
36
|
+
1362.802646
|
37
|
+
1168.009357
|
38
|
+
2257.660990
|
39
|
+
1575.807404
|
40
|
+
360.444149
|
41
|
+
1974.498351
|
42
|
+
1774.072472
|
43
|
+
1345.412908
|
44
|
+
1147.943929
|
45
|
+
1295.550430
|
46
|
+
2906.952239
|
47
|
+
985.000941
|
48
|
+
1135.522691
|
49
|
+
2374.501271
|
50
|
+
2877.524124
|
51
|
+
1181.655324
|
52
|
+
1907.617219
|
53
|
+
1285.867626
|
54
|
+
1562.327639
|
55
|
+
2433.678116
|
56
|
+
2090.601667
|
57
|
+
1378.235237
|
58
|
+
2062.771441
|
59
|
+
1681.523316
|
60
|
+
1570.190439
|
61
|
+
2086.299216
|
62
|
+
1191.739199
|
63
|
+
2278.308508
|
64
|
+
2312.020028
|
65
|
+
1601.039584
|
66
|
+
775.291588
|
67
|
+
2146.041303
|
68
|
+
1663.249143
|
69
|
+
1471.473532
|
70
|
+
2017.190002
|
71
|
+
1223.177085
|
72
|
+
1249.431886
|
73
|
+
2308.564074
|
74
|
+
882.505155
|
75
|
+
1101.389678
|
76
|
+
1947.996836
|
77
|
+
1585.878237
|
78
|
+
1563.061317
|
79
|
+
1543.421421
|
80
|
+
2534.171801
|
81
|
+
1253.595625
|
82
|
+
2163.720962
|
83
|
+
942.647283
|
84
|
+
2710.138179
|
85
|
+
1643.289034
|
86
|
+
879.049824
|
87
|
+
1334.117188
|
88
|
+
1166.590668
|
89
|
+
2502.681205
|
90
|
+
1710.558903
|
91
|
+
2040.506193
|
92
|
+
2214.654445
|
93
|
+
1975.677184
|
94
|
+
1411.068047
|
95
|
+
1723.732234
|
96
|
+
2299.101262
|
97
|
+
1926.425827
|
98
|
+
536.377565
|
99
|
+
1735.688400
|
100
|
+
1618.755080
|
101
|
+
1693.091901
|
102
|
+
2768.523991
|
103
|
+
1167.537157
|
104
|
+
2225.584092
|
105
|
+
1588.234895
|
106
|
+
1194.891095
|
107
|
+
2368.772040
|
108
|
+
1687.693122
|
109
|
+
1094.109386
|
110
|
+
2352.593021
|
111
|
+
2138.558468
|
112
|
+
1253.416519
|
113
|
+
1512.031892
|
114
|
+
2399.427992
|
115
|
+
1253.483190
|
116
|
+
2016.907594
|
117
|
+
992.114295
|
118
|
+
1493.210275
|
119
|
+
2005.136019
|
120
|
+
2080.368699
|
121
|
+
1196.190353
|
122
|
+
1312.228769
|
123
|
+
1223.161886
|
124
|
+
1590.429640
|
125
|
+
2372.690372
|
126
|
+
647.960903
|
127
|
+
1396.424801
|
128
|
+
2407.726564
|
129
|
+
817.703003
|
130
|
+
1770.635070
|
131
|
+
2089.229334
|
132
|
+
1287.286377
|
133
|
+
2126.554831
|
134
|
+
2083.729664
|
135
|
+
1230.147655
|
136
|
+
730.743059
|
137
|
+
2178.216694
|
138
|
+
1268.188217
|
139
|
+
1982.314685
|
140
|
+
1153.159046
|
141
|
+
1967.323964
|
142
|
+
2125.879649
|
143
|
+
820.797330
|
144
|
+
1865.099027
|
145
|
+
911.765887
|
146
|
+
1600.832193
|
147
|
+
2295.548519
|
148
|
+
1450.553527
|
149
|
+
1977.979705
|
150
|
+
751.872899
|
151
|
+
1604.264139
|
152
|
+
552.700862
|
153
|
+
1285.241945
|
154
|
+
966.413078
|
155
|
+
2135.734272
|
156
|
+
1906.075102
|
157
|
+
2570.359500
|
158
|
+
1389.852579
|
159
|
+
1311.270942
|
160
|
+
2130.213065
|
161
|
+
2175.361885
|
162
|
+
1123.866128
|
163
|
+
2233.678472
|
164
|
+
1334.846826
|
165
|
+
1282.358955
|
166
|
+
2284.142177
|
167
|
+
2137.029073
|