Skip to content

mTRFcrossval doesn't work on type='single' and 'fast'=0 #14

@mosh-shu

Description

@mosh-shu

mTRFcrossval doesn't work when typeis 'single' and the 'fast' parameter is 0

xlag produced by lagGen at line 227 and Cxx produced from olscovmat at line 190 does not have the same shape, thus causing an error at line 229.
The xlag at line 227 seems to be a 2-dimensional matrix with the size of (timepoints) * (nChannelsnLags), and Cxx at line 229 seems to be a 3-dimensional matrix of nChannelsnChannelsnLags.
So xlag'xlag at line 230 should give a 2-dimensional matrix with the size of (nChannelsnLags) * (nChannels
nLags); I feel like this matrix should be reshaped to nChannelsnCHannelsnLags?

Metadata

Metadata

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions