porespy.networks.diffusive_size_factor_DNS#
- porespy.networks.diffusive_size_factor_DNS(regions, throat_conns, voxel_size=1)#
Calculates the diffusive size factor of pore to pore regions in a segmented image of porous material using finite difference method.
- Parameters:
regions (ndarray) – A segmented 3D image of pore regions/a pair of two regions.
throat_conns (array) – An Nt by 2 array containing the throat connections. The indices orders in throat_conns start from 0 to be consistent with network extraction method.
voxel_size (scalar, optional) – Voxel size of the image. The default is 1.
- Returns:
diff_size_factor – An array of length conns containing diffusive size factor of the conduits in the segmented image (regions).
- Return type:
array