pysdic.SDICAnalysis.from_archive#

classmethod SDICAnalysis.from_archive(file_path, *, check_integrity=True, auto_construct=True)[source]#

Load an analysis saved with to_archive().

The archive is extracted in a temporary folder, loaded with from_folder() (same checks), then the temporary folder is removed.

Parameters:
  • file_path (Union[str, os.PathLike]) – The archive to load.

  • check_integrity (bool, optional (default: True)) – If True, the SHA-256 of all the files are checked (see from_folder()).

  • auto_construct (bool, optional (default: True)) – Whether to construct the interpolation functions of the images.

Returns:

The loaded analysis.

Return type:

pysdic.SDICAnalysis

Raises: