find_common

Import in python using from mcutils.scripts.plot.scatter_dscalar import find_common

mcutils.scripts.plot.scatter_dscalar.find_common(bm1: cifti.axis.BrainModel, bm2: cifti.axis.BrainModel)[source]

Returns the indices into bm1 and bm2 that produce the common elements

Parameters
  • bm1 – list of voxels and vertices

  • bm2 – list of voxels and vertices

Returns

tuple of two integer arrays or slices