cube# cube(network, pore_diameter='pore.diameter')[source]# Calculate pore volume from diameter assuming a cubic pore body Parameters: network (OpenPNM Network object) pore_diameterstrName of the dictionary key on network containing the ndarray of pore diameter values.