From 6b54413e88225cc6ea9caac5bf332648dad63478 Mon Sep 17 00:00:00 2001 From: psava Date: Thu, 4 Apr 2024 23:22:50 -0600 Subject: [PATCH] modified: user/psava/Msmopick.py --- user/psava/Msmopick.py | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/user/psava/Msmopick.py b/user/psava/Msmopick.py index 2202bac32..8828212f2 100755 --- a/user/psava/Msmopick.py +++ b/user/psava/Msmopick.py @@ -91,12 +91,10 @@ def lapop2D(nx,nz): print(pckmed,file=sys.stderr) # data weight -for i in range(nd): - wgh[i] *= np.cos( 2.0 * np.pi * abs((pck[i]-pckmed)/l1) ) -#wgh = 0.1 * np.power(wgh-np.min(wgh),wpo) - -wgh = np.power(wgh,wpo) -wgh /= np.max(wgh) +#for i in range(nd): +# wgh[i] *= np.cos( 2.0 * np.pi * abs((pck[i]-pckmed)/l1) ) +#wgh = np.power(wgh,wpo) +#wgh /= np.max(wgh) wgh = wgh * 0 + 0.1 # ------------------------------------------------------------