porespy.networks.partition_skeleton#

porespy.networks.partition_skeleton(sk, juncs, dt)#

Divides skeleton into pore and throat voxels given junctions

Parameters:
  • sk (ndarray) – A boolean image of the skeleton of the phase of interest

  • juncs (ndarray) – A boolean array the same shape as sk with True values indicating the junction points at which the skeleton will be divided.

  • dt (ndarray) – The distance transform of the phase of interest

Returns:

results – A Results object with images of pores and throats each containing the labelled clusters of connected voxels.

Return type:

dataclass