load_VectorLibrary#

diffsims.libraries.vector_library.load_VectorLibrary(filename, safety=False)[source]#

Loads a previously saved vectorlibrary.

Parameters:
  • filename (str) – The location of the file to be loaded

  • safety (bool (defaults to False)) – Unpickling is risky, this variable requires you to acknowledge this.

Returns:

Previously saved Library

Return type:

VectorLibrary

See also

VectorLibrary.pickle_library