File tree Expand file tree Collapse file tree 3 files changed +13
-1
lines changed
gempy_probability/modules/likelihoods Expand file tree Collapse file tree 3 files changed +13
-1
lines changed Original file line number Diff line number Diff line change 1
- from _apparent_thickness import apparent_thickness_likelihood
1
+ from _apparent_thickness import apparent_thickness_likelihood
2
+ from _gravity_inv import gravity_inversion_likelihood
Original file line number Diff line number Diff line change 5
5
def apparent_thickness_likelihood (model_solutions : gp .data .Solutions ) -> torch .Tensor :
6
6
"""
7
7
This function computes the thickness of the geological layer.
8
+
9
+ Notes: This is not completed
8
10
"""
9
11
simulated_well = model_solutions .octrees_output [0 ].last_output_center .custom_grid_values
10
12
thickness = simulated_well .sum ()
Original file line number Diff line number Diff line change
1
+ import pyro
2
+ import torch
3
+ import gempy as gp
4
+
5
+ def gravity_inversion_likelihood (model_solutions : gp .data .Solutions ) -> torch .Tensor :
6
+ simulated_geophysics = model_solutions .gravity
7
+ pyro .deterministic (r'$\mu_{gravity}$' , simulated_geophysics )
8
+
9
+ return simulated_geophysics
You can’t perform that action at this time.
0 commit comments