Deep learning for NeuroImaging in Python.
Note
This page is a reference documentation. It only explains the function signature, and not how to use it. Please refer to the gallery for the big picture.
- surfify.utils.coord.find_corresponding_order(array, ref_array, atol=0.0001, axis=0)[source]ΒΆ
Find unique match between two arrays: assume that arrays are the same up to a permutation.
- Parameters:
array : array (N, *)
the array to find the corresponding order for.
ref_array : array (N, *)
the reference array on which the order is base.
atol : float, default 1e-4
tolerance when matching the values.
axis : int, default 0
axis along which to permute ordering.
- Returns:
new_order : array (N, )
the indices to match the input array with the reference array.
Follow us