Commit 411cc3b8 authored by Quentin LOUIS's avatar Quentin LOUIS

new code for multiple simulations

parent 2dced7b5
......@@ -48,8 +48,7 @@ def start_experiment(output_dir: str, L: float, n_birds: int, eta: float = .5, t
float = 100, nb_experiments: int = 1, vel: float = 0.1) -> None:
subdir = ""
if nb_experiments > 1:
subdir = "N_" + str(n_birds) + "_L_" + str(L) + "_Eta_" + str(eta) + "_angle_vel_" + "pi" + "_T_" + str(total_time) \
+ "_vel_" + str(vel) + "/"
subdir = "N_" + str(n_birds) + "_L_" + str(L) + "_Eta_" + str(eta)
for i in range(nb_experiments):
name = subdir + "N_" + str(n_birds) + "_L_" + str(L) + "_Eta_" + str(eta) + "_angle_vel_" + "pi" + "_T_" + str(total_time) \
+ "_vel_" + str(vel) + "_nb_exp_" + str(i+1)
......
Markdown is supported
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