gen_corrmat

corr_eig

pycorr.gen_corrmat.corr_eig(lam, nsubs, npoints, C=None)[source]

Generates an npoints x nsubs matrix of data that produces correlation matrix C

crosscor

pycorr.gen_corrmat.crosscor(dlist, B=None, standardized=True)

Takes list of subject data, returns matrix of correlation matrices at each voxel.

Parameters:
  • dlist – list of arrays to correlate along last dimension (must be equal shape)
  • B – optionally calculate the cross-correlation matrix with arrays in B
  • standardized – whether all data are standardized (speeds calculation)