run

Import in python using from mcutils.scripts.cifti.correlate import run

mcutils.scripts.cifti.correlate.run(dconn1, dconn2, split_greyordinates: cifti.axis.BrainModel = None)[source]

Computes the correlation between dense connectomes

Parameters
  • dconn1 – (M, N) nibabel Cifti2Image

  • dconn2 – (M, N) nibabel Cifti2Image

  • split_greyordinates – cifti.BrainModel axis with the voxels/vertices

Returns

dictionary mapping names of target regions to (N, ) arrays