@@ -169,6 +169,11 @@ def init_func_derivatives_wf(
169
169
# BOLD series will generally be unmasked unless multiecho,
170
170
# as the optimal combination is undefined outside a bounded mask
171
171
masked = multiecho
172
+ t2star_meta = {
173
+ 'Units' : 's' ,
174
+ 'EstimationReference' : 'doi:10.1002/mrm.20900' ,
175
+ 'EstimationAlgorithm' : 'monoexponential decay model' ,
176
+ }
172
177
173
178
inputnode = pe .Node (niu .IdentityInterface (fields = [
174
179
'aroma_noise_ics' , 'bold_aparc_std' , 'bold_aparc_t1' , 'bold_aseg_std' ,
@@ -248,13 +253,15 @@ def init_func_derivatives_wf(
248
253
if multiecho :
249
254
ds_t2star_bold = pe .Node (
250
255
DerivativesDataSink (base_directory = output_dir , space = 'boldref' ,
251
- suffix = 'T2starmap' , compress = True , dismiss_entities = ("echo" ,)),
256
+ suffix = 'T2starmap' , compress = True , dismiss_entities = ("echo" ,),
257
+ ** t2star_meta ),
252
258
name = 'ds_t2star_bold' , run_without_submitting = True ,
253
259
mem_gb = DEFAULT_MEMORY_MIN_GB )
254
260
255
261
workflow .connect ([
256
262
(inputnode , ds_t2star_bold , [('source_file' , 'source_file' ),
257
263
('t2star_bold' , 'in_file' )]),
264
+ (raw_sources , ds_t2star_bold , [('out' , 'RawSources' )]),
258
265
])
259
266
260
267
if multiecho and config .execution .me_output_echos :
@@ -322,13 +329,15 @@ def init_func_derivatives_wf(
322
329
if multiecho :
323
330
ds_t2star_t1 = pe .Node (
324
331
DerivativesDataSink (base_directory = output_dir , space = 'T1w' ,
325
- suffix = 'T2starmap' , compress = True , dismiss_entities = ("echo" ,)),
332
+ suffix = 'T2starmap' , compress = True , dismiss_entities = ("echo" ,),
333
+ ** t2star_meta ),
326
334
name = 'ds_t2star_t1' , run_without_submitting = True ,
327
335
mem_gb = DEFAULT_MEMORY_MIN_GB )
328
336
329
337
workflow .connect ([
330
338
(inputnode , ds_t2star_t1 , [('source_file' , 'source_file' ),
331
339
('t2star_t1' , 'in_file' )]),
340
+ (raw_sources , ds_t2star_t1 , [('out' , 'RawSources' )]),
332
341
])
333
342
334
343
if use_aroma :
@@ -457,7 +466,8 @@ def init_func_derivatives_wf(
457
466
if multiecho :
458
467
ds_t2star_std = pe .Node (
459
468
DerivativesDataSink (base_directory = output_dir , suffix = 'T2starmap' ,
460
- compress = True , dismiss_entities = ("echo" ,)),
469
+ compress = True , dismiss_entities = ("echo" ,),
470
+ ** t2star_meta ),
461
471
name = 'ds_t2star_std' , run_without_submitting = True ,
462
472
mem_gb = DEFAULT_MEMORY_MIN_GB )
463
473
@@ -468,6 +478,7 @@ def init_func_derivatives_wf(
468
478
('cohort' , 'cohort' ),
469
479
('resolution' , 'resolution' ),
470
480
('density' , 'density' )]),
481
+ (raw_sources , ds_t2star_std , [('out' , 'RawSources' )]),
471
482
])
472
483
473
484
fs_outputs = spaces .cached .get_fs_spaces ()
0 commit comments