classmethod PoreSpy.import_data(filename, project=None, settings=None)[source]

Load a network extracted using the PoreSpy package

  • 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.