File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -195,6 +195,12 @@ class _ConfoundsCorrelationPlotInputSpec(BaseInterfaceInputSpec):
195
195
"correlation with `reference_column` will be "
196
196
"selected." ,
197
197
)
198
+ ignore_initial_volumes = traits .Int (
199
+ 0 ,
200
+ usedefault = True ,
201
+ desc = "Number of non-steady-state volumes at the beginning of the scan "
202
+ "to ignore." ,
203
+ )
198
204
199
205
200
206
class _ConfoundsCorrelationPlotOutputSpec (TraitedSpec ):
@@ -223,6 +229,7 @@ def _run_interface(self, runtime):
223
229
max_dim = self .inputs .max_dim ,
224
230
output_file = self ._results ["out_file" ],
225
231
reference = self .inputs .reference_column ,
232
+ ignore_initial_volumes = self .inputs .ignore_initial_volumes ,
226
233
)
227
234
return runtime
228
235
Original file line number Diff line number Diff line change @@ -861,6 +861,7 @@ def confounds_correlation_plot(
861
861
max_dim = 20 ,
862
862
output_file = None ,
863
863
reference = "global_signal" ,
864
+ ignore_initial_volumes = 0 ,
864
865
):
865
866
"""
866
867
Generate a bar plot with the correlation of confounds.
@@ -889,6 +890,8 @@ def confounds_correlation_plot(
889
890
of each confound regressor with a reference column. By default, this
890
891
is the global signal (so that collinearities with the global signal
891
892
can readily be assessed).
893
+ ignore_initial_volumes : :obj:`int`
894
+ Number of non-steady-state volumes at the beginning of the scan to ignore.
892
895
893
896
Returns
894
897
-------
You can’t perform that action at this time.
0 commit comments