The methods save_data() and load_and_apply() from apsuite.utils require that self.params must have a method to_dict() which did not exist in the params classes from dynamic aperture calculations. Deriving the params classes from ParamsBaseClass fix this bug.
The methods
save_data()
andload_and_apply()
fromapsuite.utils
require thatself.params
must have a methodto_dict()
which did not exist in the params classes from dynamic aperture calculations. Deriving the params classes from ParamsBaseClass fix this bug.