Skip to content

Commit

Permalink
update_simulation_setup
Browse files Browse the repository at this point in the history
  • Loading branch information
YaolinGe committed Sep 7, 2023
1 parent 3ccfd21 commit 3b2fdf1
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 20 deletions.
29 changes: 10 additions & 19 deletions Nidelva3D/EDA_Simulation/eda_simulation_result.ipynb

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions Nidelva3D/src/Agents/Agent_adaptive.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,7 @@ def run(self):
def update_metrics(self) -> None:
mu = self.myopic.kernel.get_mu()
sigma_diag = self.myopic.kernel.get_mvar()
self.mu_truth = self.auv.ctd.get_salinity_at_dt_loc(dt=0, loc=self.grid)
self.__ibv[self.__counter] = self.__get_ibv(self.__threshold, mu, sigma_diag)
self.__vr[self.__counter] = np.sum(sigma_diag)

Expand Down
2 changes: 1 addition & 1 deletion Nidelva3D/src/run_replicates.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
import os


num_replicates = 1
num_replicates = 100
num_cores = 1
num_steps = 20
temporal_truth = True
Expand Down

0 comments on commit 3b2fdf1

Please sign in to comment.