diff --git a/examples/scripts/gitt_scipymin.py b/examples/scripts/gitt.py similarity index 96% rename from examples/scripts/gitt_scipymin.py rename to examples/scripts/gitt.py index 13d0cd50f..792436d90 100644 --- a/examples/scripts/gitt_scipymin.py +++ b/examples/scripts/gitt.py @@ -9,7 +9,7 @@ ) # Generate data -sigma = 0.001 +sigma = 0.005 t_eval = np.arange(0, 150, 2) values = model.predict(t_eval=t_eval) corrupt_values = values["Voltage [V]"].data + np.random.normal(0, sigma, len(t_eval)) @@ -63,7 +63,7 @@ cost = pybop.RootMeanSquaredError(problem) # Build the optimisation problem -optim = pybop.Optimisation(cost=cost, optimiser=pybop.SciPyMinimize) +optim = pybop.Optimisation(cost=cost, optimiser=pybop.PSO, verbose=True) # Run the optimisation problem x, final_cost = optim.run()