Skip to content

Commit 42e0dcb

Browse files
committed
BF: fix design matrix size for example
I am not sure if this is the correct fix.
1 parent 2a3ac5c commit 42e0dcb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/labs/need_data/localizer_glm_ar.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@
117117
contrasts["sentences"]
118118
contrasts["reading-visual"] = contrasts["sentences"] * 2 - \
119119
contrasts["damier_H"] - contrasts["damier_V"]
120-
contrasts['effects_of_interest'] = np.eye(25)[:20:2]
120+
contrasts['effects_of_interest'] = np.eye(n_columns)[:20:2]
121121

122122
########################################
123123
# Perform a GLM analysis

0 commit comments

Comments
 (0)