Skip to content

Commit f9e2111

Browse files
committed
[CLN] A bit of cleaning before I figure out what to do next
1 parent a3a310c commit f9e2111

File tree

3 files changed

+10
-5
lines changed

3 files changed

+10
-5
lines changed

docs/dev_logs/2025_May.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,12 @@
1010
- [ ] Create a robust api to make sure we do not mess up assigning priors to gempy parameters
1111
- [ ] do we need to use index_put or just normal indexing?
1212
--- Vector examples
13-
- [ ] Bring the Vector example here...
13+
- [ ] Bring the Vector examples here...
14+
- Stonepark
15+
- Gravity
16+
- Multidimensional likelihood
17+
- spremberg
18+
- Categories
1419
- [ ] Using categories as likelihood function (maybe I need to check out with Sam)
1520
--- MinEye
1621
- [ ] Revive magnetics
@@ -20,7 +25,7 @@
2025
- [x] Compressing code
2126
- [x] GemPy posterior visualization
2227
- [x] Add proper thickness likelihood
23-
- [ ] Segmentation function
28+
- [x] Segmentation function
2429
- [ ] Speed: Blocked by having a model that is not too big.
2530
- [ ] Time test for torch CPU
2631
- [ ] Time test for keops CPU

gempy_probability/modules/model_definition/model_examples.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
import torch
1010

1111

12-
def model(geo_model: gempy.core.data.GeoModel, normal, y_obs_list):
12+
def two_wells_prob_model_I(geo_model: gempy.core.data.GeoModel, normal, y_obs_list):
1313
"""
1414
This Pyro model represents the probabilistic aspects of the geological model.
1515
It defines a prior distribution for the top layer's location and

tests/test_prob_model/test_prob_I.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,10 @@ def test_basic_gempy_I() -> None:
4747
scale=torch.tensor(0.1, dtype=torch.float64)
4848
)
4949

50-
from gempy_probability.modules.model_definition.model_examples import model
50+
from gempy_probability.modules.model_definition.model_examples import two_wells_prob_model_I
5151
_prob_run(
5252
geo_model=geo_model,
53-
prob_model=model,
53+
prob_model=two_wells_prob_model_I,
5454
normal=normal,
5555
y_obs_list=torch.tensor([200, 210, 190])
5656
)

0 commit comments

Comments
 (0)