We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 48b6b96 commit c3aa401Copy full SHA for c3aa401
hnn_core/optimization/objective_functions.py
@@ -52,7 +52,17 @@ def _rmse_evoked(
52
new_net = initial_net.copy()
53
set_params(new_net, params)
54
55
- dpls = simulate_dipole(new_net, tstop=tstop, n_trials=obj_fun_kwargs["n_trials"])
+ if "bsl_cor" in obj_fun_kwargs:
56
+ dpls = simulate_dipole(
57
+ new_net,
58
+ tstop=tstop,
59
+ n_trials=obj_fun_kwargs["n_trials"],
60
+ bsl_cor=obj_fun_kwargs["bsl_cor"],
61
+ )
62
+ else:
63
64
+ new_net, tstop=tstop, n_trials=obj_fun_kwargs["n_trials"]
65
66
67
# smooth & scale
68
if "scale_factor" in obj_fun_kwargs:
0 commit comments