porespy.beta.tau_from_cmap#
- porespy.beta.tau_from_cmap(c, im, axis)#
Computes the tortuosity factor from a concentration field.
- Parameters:
c (ndarray) – The concentration field
im (ndarray) – The binary image of the porous medium
axis (int) – The axis along which tortuosity is computed
- Returns:
tau – The tortuosity factor along the given axis
- Return type:
float