porespy.beta#

Functions#

df_to_tortuosity(im, df)

Compute the tortuosity of a network populated with diffusive conductance values

flux(c, axis[, k])

Computes the layer-by-layer diffusive flux in a given direction.

get_block_sizes(im[, block_size_range])

Finds all viable block sizes between lower and upper limits

local_diff(vals, im[, strel])

Computes the difference pixel and the average of it's neighbors.

polydisperse_cylinders(shape, porosity, dist[, ...])

Generates overlapping cylinders with radii from the given size distribution

rev_tortuosity(im[, block_sizes, use_dask])

Generates the data for creating an REV plot based on tortuosity.

tau_from_cmap(c, im, axis)

Computes the tortuosity factor from a concentration field.

tortuosity_bt(im[, block_size, method, use_dask])

Computes the tortuosity of an image in all directions

walk(→ tuple[numpy.ndarray, numpy.ndarray])