Skip to content

Commit 5618629

Browse files
committed
[skip ci] expand description, minor fixes
1 parent b99afb0 commit 5618629

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

fmriprep/cli/run.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,11 +185,11 @@ def get_parser():
185185
help='Include all components estimated in CompCor decomposition in the confounds '
186186
'file instead of only the components sufficient to explain 50 percent of '
187187
'BOLD variance in each CompCor mask')
188-
g.confounds.add_argument(
188+
g_confounds.add_argument(
189189
'--fd-spike-threshold', required=False, action='store', default=0.5, type=float,
190190
help='Threshold for flagging a frame as an outlier on the basis of framewise '
191191
'displacement')
192-
g.confounds.add_argument(
192+
g_confounds.add_argument(
193193
'--dvars-spike-threshold', required=False, action='store', default=1.5, type=float,
194194
help='Threshold for flagging a frame as an outlier on the basis of standardised '
195195
'DVARS')

fmriprep/workflows/bold/confounds.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242

4343

4444
def init_bold_confs_wf(mem_gb, metadata, return_all_components=False,
45-
spike_criteria=None, name="bold_confs_wf"):
45+
fd_spike_thr=0.5, dv_spike_thr=1.5, name="bold_confs_wf"):
4646
"""
4747
This workflow calculates confounds for a BOLD series, and aggregates them
4848
into a :abbr:`TSV (tab-separated value)` file, for use as nuisance
@@ -148,7 +148,8 @@ def init_bold_confs_wf(mem_gb, metadata, return_all_components=False,
148148
For aCompCor, components are calculated within the intersection of
149149
the aforementioned mask and the union of CSF and WM masks calculated
150150
in T1w space, after their projection to the native space of each
151-
functional run (using the inverse BOLD-to-T1w transformation).
151+
functional run (using the inverse BOLD-to-T1w transformation). Components
152+
are also calculated separately within the WM and CSF masks.
152153
The head-motion estimates calculated in the correction step were also
153154
placed within the corresponding confounds file.
154155
The confound time series derived from head motion estimates and global

0 commit comments

Comments
 (0)