Commit 246479e
committed
[ENH] Add deprecation warning for legacy
- Introduced `warnings.warn` to notify usage of deprecated `GeophysicsInput` constructor involving `tz` and `densities`.
- Updated `GeophysicsInput` initialization to utilize `GravityInput` and `MagneticsInput` for better modularity.GeophysicsInput constructor and update initialization logic1 parent 5e227f7 commit 246479e
1 file changed
+14
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
| |||
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
26 | 39 | | |
27 | 40 | | |
28 | 41 | | |
| |||
0 commit comments