from_porespy#

from_porespy(filename, project=None, settings=None)[source]#

Load a network extracted using the PoreSpy package

Parameters
  • filename (str or dict) – Can either be a filename point to a pickled dictionary, or an actual dictionary. The second option lets users avoid the step of saving the dictionary to a file

  • project (Project) – If given, the loaded network and geometry will be added to this project, otherwise a new one will be created.