porespy.beta.df_to_tortuosity#
- porespy.beta.df_to_tortuosity(im, df)#
Compute the tortuosity of a network populated with diffusive conductance values from the given dataframe.
- Parameters:
im (ndarray) – The boolean image of the materials with True indicating the void space
df (dataframe) – The dataframe returned by the blocks_to_dataframe function
block_size (int) – The size of the blocks used to compute the conductance values in df
- Returns:
tau – The tortuosity in all three principal directions
- Return type:
list of floats