ParametricSolution.make_save_dict

ParametricSolution.make_save_dict(prefix: str = '', save_dict=None, **kwargs) dict[source]

Generate dict to save object with numpy.savez.

Parameters
prefixstr, default=””

Save attributes with names = prefix + internal_name.

save_dictdict, optional

If given, dict elements will be added to dict, else a new dict is created.

Returns
save_dictdict

Dictionary to be saved with savez().