pore_size#

Pore Size Models#

This model contains a selection of functions for finding the pore size

Functions

equivalent_diameter(network[, pore_volume, ...])

Calculate the diameter of a sphere or edge-length of a cube with same volume as the pore.

from_neighbor_throats(network, prop[, mode])

Adopt a value from the values found in neighboring throats

generic_distribution(network, func[, seeds])

Accepts an object from the Scipy.stats submodule and returns values from the distribution for the given seeds

largest_sphere(network[, fixed_diameter, iters])

Finds the maximum diameter pore that can be placed in each location without overlapping any neighbors.

normal(network, scale, loc[, seeds])

Produces values from a Weibull distribution given a set of random numbers.

random(network[, seed, num_range])

Create an array of random numbers of a specified size.

weibull(network, shape, scale, loc[, seeds])

Produces values from a Weibull distribution given a set of random numbers.