Python API Reference#

This section documents the Python interface of Fracnetics.


Utilities#

Helper functions used by the core classes are defined in the utilsModel module.

fracnetics.utilsModel.loadPopulation(filename)[source]#

Load a previously stored population object from a file.

Parameters:

filename (str) – Path or filename of the stored population.

Returns:

The deserialized population object.

Return type:

Population

fracnetics.utilsModel.storePopulation(obj, filename)[source]#

Store a population object in a file using pickle serialization.

Parameters:
  • obj (Population) – The population object to store.

  • filename (str) – Path or filename where the population should be saved.

Returns:

Prints a confirmation message upon successful storage.

Return type:

None