Commit 9c7c767
committed
Update method for finding non-zero index in segy data
The previous method using sum() to get non-zero indexes in multidimensional segy data was replaced with the np.where() method. This new approach directly checks where in the data non-zero elements exist, which provides a more accurate result especially in cases of complex top mute.1 parent 5216791 commit 9c7c767
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
207 | 207 | | |
208 | 208 | | |
209 | 209 | | |
210 | | - | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
211 | 214 | | |
212 | 215 | | |
213 | 216 | | |
| |||
0 commit comments