Skip to content

Commit

Permalink
invert dips check
Browse files Browse the repository at this point in the history
Signed-off-by: beramos <[email protected]>
  • Loading branch information
Beramos committed Mar 4, 2024
1 parent 0d19f56 commit b9b47ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pylops/utils/signalprocessing.py
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ def slope_estimate(
regdata = l1 > eps
anisos[regdata] = 1 - l2[regdata] / l1[regdata]

if not dips:
if dips:
slopes = 0.5 * np.arctan2(2 * gzx, gzz - gxx)
else:
regdata = np.abs(gzx) > eps
Expand Down

0 comments on commit b9b47ce

Please sign in to comment.