We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ff77943 commit 00d9e0fCopy full SHA for 00d9e0f
xcp_d/interfaces/restingstate.py
@@ -361,8 +361,8 @@ def _run_interface(self, runtime):
361
if sample_mask.size != n_volumes:
362
raise ValueError(f'{sample_mask.size} != {n_volumes}')
363
364
- denoised_data = denoised_data[sample_mask, :]
365
- mean_data = mean_data[sample_mask, :]
+ denoised_data = denoised_data[:, sample_mask]
+ mean_data = mean_data[:, sample_mask]
366
367
# Explicitly mean-center the denoised data so there isn't a chance of it confounding
368
# with the mean image.
0 commit comments