filter_pores_by_z#

filter_pores_by_z(network, pores, z)[source]#

Filters a list of nodes to those with a given number of neighbors

Parameters:
  • network (dict) – The network dictionary

  • inds (array_like) – A list containing the indices of the nodes to be filtered

  • z (int) – The coordination number by which to filter

Returns:

inds – A list of node indices which satisfy the criteria

Return type:

array_like