Skip to content
Discussion options

You must be logged in to vote

Isolate clusters is easy...these should show up on the check_network_health function. Deadend pores are not technically a problem for the simulations, so we consider those as healthy. However, if you really don't want deadend pores you can do Ps = pn.num_neighbors(pores=np.Ps) which will return a list of the number of neighbors to each pore. You can then trim any pores with only 1 neighbor (op.topotools.trim(pn, pores=Ps==1). You'll need to do this several times since you may create new deadend pores upon deletion of the previous ones (as would happen in the case of a chain of pores leading to a dead end).

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by harshpallam
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants