Skip to content

Commit d9c33e9

Browse files
committed
[skip ci] update documentation to reflect new confounds options
1 parent 3a0d149 commit d9c33e9

File tree

5 files changed

+25
-4
lines changed

5 files changed

+25
-4
lines changed

docs/outputs.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ motion-correction parameters estimated by fMRIPrep;
173173
if present, ``non_steady_state_outlier_XX`` columns indicate non-steady state volumes with a single
174174
``1`` value and ``0`` elsewhere (*i.e.*, there is one ``non_steady_state_outlier_XX`` column per
175175
outlier/volume);
176-
six noise components are calculated using :abbr:`CompCor (Component Based Noise Correction)`,
176+
additional noise components are calculated using :abbr:`CompCor (Component Based Noise Correction)`,
177177
according to both the anatomical (``a_comp_cor_XX``) and temporal (``t_comp_cor_XX``) variants;
178178
and the motion-related components identified by
179179
:abbr:`ICA (independent components analysis)`-:abbr:`AROMA (Automatic Removal Of Motion Artifacts)`

docs/workflows.rst

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,9 @@ is presented below:
5252
use_aroma=False,
5353
aroma_melodic_dim=-200,
5454
ignore_aroma_err=False,
55+
return_all_components=False,
56+
fd_spike_thr=0.5,
57+
dv_spike_thr=1.5
5558
)
5659

5760

@@ -274,6 +277,9 @@ BOLD preprocessing
274277
use_aroma=False,
275278
aroma_melodic_dim=-200,
276279
ignore_aroma_err=False,
280+
return_all_components=False,
281+
fd_spike_thr=0.5,
282+
dv_spike_thr=1.5
277283
)
278284

279285
Preprocessing of :abbr:`BOLD (blood-oxygen level-dependent)` files is
@@ -518,7 +524,10 @@ Confounds estimation
518524
name="discover_wf",
519525
mem_gb=1,
520526
metadata={"RepetitionTime": 2.0,
521-
"SliceTiming": [0.0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9]})
527+
"SliceTiming": [0.0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9]},
528+
return_all_components=False,
529+
fd_spike_thr=0.5,
530+
dv_spike_thr=1.5)
522531

523532
Given a motion-corrected fMRI, a brain mask, ``mcflirt`` movement parameters and a
524533
segmentation, the `discover_wf` sub-workflow calculates potential

fmriprep/workflows/base.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,9 @@ def init_fmriprep_wf(subject_list, task_id, echo_idx, run_uuid, work_dir, output
8787
use_aroma=False,
8888
ignore_aroma_err=False,
8989
aroma_melodic_dim=-200,
90+
return_all_components=False,
91+
fd_spike_thr=0.5,
92+
dv_spike_thr=1.5,
9093
template_out_grid='native')
9194
9295
@@ -296,7 +299,10 @@ def init_single_subject_wf(subject_id, task_id, echo_idx, name, reportlets_dir,
296299
template_out_grid='native',
297300
use_aroma=False,
298301
aroma_melodic_dim=-200,
299-
ignore_aroma_err=False)
302+
ignore_aroma_err=False,
303+
return_all_components=False,
304+
fd_spike_thr=0.5,
305+
dv_spike_thr=1.5)
300306
301307
Parameters
302308

fmriprep/workflows/bold/base.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,9 @@ def init_func_preproc_wf(bold_file, ignore, freesurfer,
8686
use_aroma=False,
8787
ignore_aroma_err=False,
8888
aroma_melodic_dim=-200,
89+
return_all_components=False,
90+
fd_spike_thr=0.5,
91+
dv_spike_thr=1.5,
8992
num_bold=1)
9093
9194
**Parameters**

fmriprep/workflows/bold/confounds.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,10 @@ def init_bold_confs_wf(mem_gb, metadata, return_all_components=False,
7676
from fmriprep.workflows.bold.confounds import init_bold_confs_wf
7777
wf = init_bold_confs_wf(
7878
mem_gb=1,
79-
metadata={})
79+
metadata={},
80+
return_all_components=False,
81+
fd_spike_thr=0.5,
82+
dv_spike_thr=1.5)
8083
8184
**Parameters**
8285

0 commit comments

Comments
 (0)