percolation_all_axes_periodic

compute.percolation_all_axes_periodic(binary)

Check percolation in x/y/z with periodic BCs in transverse directions.

Parameters:

binary : (Nx,Ny,Nz) bool array True = void/accessible, False = solid.

Returns:

dict with keys “x”, “y”, “z”: each is a set of component labels that percolate in that axis. unioned_labels_dict: dict For each axis, the label grid after periodic boundary merging.