brainstat.stats.utils.row_ismember

brainstat.stats.utils.row_ismember(a, b)[source]

Tests whether rows of a occur in b.

Parameters
  • a (numpy.array) – a 2D array with the same number of columns as b.

  • b (numpy.array) – a 2D array with the same number of columns as a.

Returns

list – Indices of rows in a that occur in b.