Skip to content

Commit b9b47ce

Browse files
committed
invert dips check
Signed-off-by: beramos <[email protected]>
1 parent 0d19f56 commit b9b47ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pylops/utils/signalprocessing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ def slope_estimate(
246246
regdata = l1 > eps
247247
anisos[regdata] = 1 - l2[regdata] / l1[regdata]
248248

249-
if not dips:
249+
if dips:
250250
slopes = 0.5 * np.arctan2(2 * gzx, gzz - gxx)
251251
else:
252252
regdata = np.abs(gzx) > eps

0 commit comments

Comments
 (0)