Skip to content

Commit

Permalink
update_threshold_for_simulation_making_smaller_boundary
Browse files Browse the repository at this point in the history
  • Loading branch information
YaolinGe committed Jul 26, 2023
1 parent 216794c commit ad50a68
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
9 changes: 5 additions & 4 deletions Nidelva3D/EDA_Simulation/eda_simulation_result.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Nidelva3D/src/GMRF/spde.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ def setThreshold(self):
"""Set threshold for Excursion set
"""
ind = np.load(FILEPATH + 'models/boundary.npy')
self.threshold = self.mu[ind].mean()
self.threshold = 23 # self.mu[ind].mean()
print('Treshold is set to %.2f'%(self.threshold))

def getThreshold(self) -> np.ndarray:
Expand Down

0 comments on commit ad50a68

Please sign in to comment.