Skip to content
Snippets Groups Projects
Commit 4e82b110 authored by Maximilian Schmidt's avatar Maximilian Schmidt
Browse files

Set load_list to empty list per default, Fix problem with integer exponent in utils.py

parent c83d1c64
No related branches found
No related tags found
1 merge request!1Add all necessary files for the multi-area model
...@@ -32,12 +32,12 @@ M_target = MultiAreaModel(network_params_target, theory=True, ...@@ -32,12 +32,12 @@ M_target = MultiAreaModel(network_params_target, theory=True,
theory_spec=theory_params) theory_spec=theory_params)
THREADS = 4 THREADS = 4
load_list = [1, 2, 3, 4] load_list = []
# This list defines which of the detected minima of the velocity # This list defines which of the detected minima of the velocity
# vector is identified as the unstable fixed point. It has to be # vector is identified as the unstable fixed point. It has to be
# created manually. # created manually.
ind_list = [1, 1, 0, 1] ind_list = []
""" """
Main loop Main loop
......
...@@ -118,7 +118,7 @@ def compute_iteration(max_iter, fac_nu_ext_5E_list, theory_params, M_base, threa ...@@ -118,7 +118,7 @@ def compute_iteration(max_iter, fac_nu_ext_5E_list, theory_params, M_base, threa
fac_nu_ext_5E_list = np.arange(fac_nu_ext_5E_list[i], fac_nu_ext_5E_list = np.arange(fac_nu_ext_5E_list[i],
# to ensure that the array includes the last value, we add a small epsilon # to ensure that the array includes the last value, we add a small epsilon
fac_nu_ext_5E_list[i+1] + 1.e-10, fac_nu_ext_5E_list[i+1] + 1.e-10,
10**(-(i+2))) 10**(-(i+2.)))
ind = np.argsort(par_list) ind = np.argsort(par_list)
par_list = par_list[ind] par_list = par_list[ind]
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment