Hi.
I tried to create a eventrelated dataset from my experiment with
different block durations and run into a problem.

ds = dataset_wizard(np.ones((5,1)))
t=[1,2,2,3,4]
c=[1,1,1,1,1]
events=find_events(targets=t, chunks=c)
ev=eventrelated_dataset(ds,events=events)

will cause an error:
ValueError: Illegal box (start: 4, offset: 0, length: 2) with total
input sample being 5.

The boxlength is always the maximum value of all event blocks.

Cheers,
Joerg

_______________________________________________
Pkg-ExpPsy-PyMVPA mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-exppsy-pymvpa

Reply via email to