Sort network elements from distributions of network properties
- braindynamics_starprotocol.network.sort.sort_distribution(data: ndarray) tuple[source]
Function that performs extensive sort (sorting rows based on column values) of 2D data.
- Parameters:
data (np.ndarray) – Input 2D array of shape: <nr_elements>, <nr_bins>.
- Returns:
Two arrays of sorted indices of rows from first-to-last and last-to first columns.
- Return type:
tuple