We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent db5add9 commit 13c8997Copy full SHA for 13c8997
1 file changed
SimPEG/directives/directives.py
@@ -2174,16 +2174,13 @@ def getWr(self):
2174
wr += prob_JtJ
2175
2176
wr /= wr.max()
2177
-
+ wr **= 0.5
2178
if self.method == "percent_amplitude":
2179
wr += np.abs(wr.max() - wr.min()) * self.threshold / 100.
2180
elif self.method == "percentile":
2181
- np.percentile(wr, self.threshold) #threshold
+ wr += np.percentile(wr, self.threshold)
2182
else:
2183
wr += self.threshold
2184
2185
- wr **= 0.5
2186
2187
2188
wr += 1.0
2189
0 commit comments