pyMMF.IndexProfile.fromFile#

classmethod IndexProfile.fromFile(filename)[source]#

Load the index profile from a file.

Parameters:
filenamestr

The name of the file where the index profile is saved.

Returns:
IndexProfile

The index profile loaded from the file.

Parameters:

filename (str)

Examples

import pyMMF
filename = "index_profile.pkl"
profile = pyMMF.IndexProfile.fromFile(filename)