File tree Expand file tree Collapse file tree 3 files changed +10
-5
lines changed
gempy_probability/modules/model_definition Expand file tree Collapse file tree 3 files changed +10
-5
lines changed Original file line number Diff line number Diff line change 10
10
- [ ] Create a robust api to make sure we do not mess up assigning priors to gempy parameters
11
11
- [ ] do we need to use index_put or just normal indexing?
12
12
--- 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
14
19
- [ ] Using categories as likelihood function (maybe I need to check out with Sam)
15
20
--- MinEye
16
21
- [ ] Revive magnetics
20
25
- [x] Compressing code
21
26
- [x] GemPy posterior visualization
22
27
- [x] Add proper thickness likelihood
23
- - [ ] Segmentation function
28
+ - [x ] Segmentation function
24
29
- [ ] Speed: Blocked by having a model that is not too big.
25
30
- [ ] Time test for torch CPU
26
31
- [ ] Time test for keops CPU
Original file line number Diff line number Diff line change 9
9
import torch
10
10
11
11
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 ):
13
13
"""
14
14
This Pyro model represents the probabilistic aspects of the geological model.
15
15
It defines a prior distribution for the top layer's location and
Original file line number Diff line number Diff line change @@ -47,10 +47,10 @@ def test_basic_gempy_I() -> None:
47
47
scale = torch .tensor (0.1 , dtype = torch .float64 )
48
48
)
49
49
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
51
51
_prob_run (
52
52
geo_model = geo_model ,
53
- prob_model = model ,
53
+ prob_model = two_wells_prob_model_I ,
54
54
normal = normal ,
55
55
y_obs_list = torch .tensor ([200 , 210 , 190 ])
56
56
)
You can’t perform that action at this time.
0 commit comments