Skip to content

Commit 9e8f68a

Browse files
authored
Merge pull request #241 from jhlegarreta/fix/fix-nilearn-clean-default-warning
FIX: Specify standardization strategy in carpet plot data cleaning
2 parents 4207ffe + 072ac92 commit 9e8f68a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

nireports/reportlets/nuisance.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ def plot_carpet(
304304
if detrend:
305305
from nilearn.signal import clean
306306

307-
data = clean(data.T, t_r=tr, filter=False).T
307+
data = clean(data.T, t_r=tr, filter=False, standardize="zscore_sample").T
308308

309309
# We want all subplots to have the same dynamic range
310310
vminmax = np.percentile(data[:, drop_trs:], [2, 98])

0 commit comments

Comments
 (0)