diff --git a/wetb/prepost/Simulations.py b/wetb/prepost/Simulations.py index dc5d76d408448e2367b1f62c054e19c493d78395..4c5d7bd2c6da30fd153caa1714763a2603d3b88a 100755 --- a/wetb/prepost/Simulations.py +++ b/wetb/prepost/Simulations.py @@ -3413,7 +3413,7 @@ def int_envelope(ch1,ch2,Nx): axis=0) - int_1 = np.linspace(min(upper[:,0].min(),lower[:,0].min()),\ + int_1 = np.linspace(min(upper[:,0].min(),lower[:,0].min()), max(upper[:,0].max(),lower[:,0].max()),Nx/2+1) upper = np.flipud(upper) int_2_up = np.interp(int_1,np.array(upper[:,0]),np.array(upper[:,1]))