ContextLab / supereeg

Infer activity throughout the brain from a small(ish) number of electrodes using Gaussian process regression
Other
34 stars 14 forks source link

issue creating model from nifti object #170

Closed lucywowen closed 5 years ago

lucywowen commented 6 years ago

Need to figure out figure out sample_rate=None (and bo.n_secs=None) issue when loading nifti as brain object. Issue is with the corrmat function:

return np.multiply(bo.n_secs, _r2z(1 - squareform(pdist(bo.get_data().T, 'correlation'))))

TypeError: unsupported operand type(s) for *: 'NoneType' and 'float'