Skip to content
Discussion options

You must be logged in to vote

Assumiung the network is extracted using snow, so that you have an image with each pore region labelled, then yes its possible. The extracted network has a 'pore.region_label' array, which you can use to index into the pore array of interest. You just need to remember that openpnm indices start at 0, while the regions start at 0. So:

im = net['pore.equivalent_diameter'][snow_n.regions-1]

Of course you can replace 'pore.equivalent_diameter' with 'pore.occupancy' or whatever you like.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by mabdelr
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