Skip to content

Stimulus Presentation Create Design Matrix Error #35

@bvkennedy

Description

@bvkennedy

I am receiving an error when I run create_design_matrix.py with the default values entered.

Here is the full error message:

Running: C:\pyprf-master\pyprf\stimulus_presentation\code\create_design_matrix.py

Traceback (most recent call last):
File "C:\pyprf-master\pyprf\stimulus_presentation\code\create_design_matrix.py", line 552, in
crt_design(dicParam)
File "C:\pyprf-master\pyprf\stimulus_presentation\code\create_design_matrix.py", line 161, in crt_design
aryPosConTmp = np.vstack((aryPosTemp, aryConTmp)).T
File "<array_function internals>", line 6, in vstack
File "C:\Program Files\Python_36\lib\site-packages\numpy\core\shape_base.py", line 283, in vstack
return _nx.concatenate(arrs, 0)
File "<array_function internals>", line 6, in concatenate
ValueError: all the input array dimensions for the concatenation axis must match exactly, but along dimension 1, the array at index 0 has size 70 and the array at index 1 has size 14

Experiment ended.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions