Skip to content

Add thickness likelihood module and refactor existing likelihood functions #7

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 3 commits into
base: gempy_posterior_analysis
Choose a base branch
from

Conversation

Leguark
Copy link
Member

@Leguark Leguark commented May 4, 2025

Add Likelihood Module with Thickness and Gravity Functions

This PR introduces a new module structure for likelihood functions in gempy_probability:

  • Create dedicated likelihoods module with implementations for:

    • apparent_thickness_likelihood - Moved from model examples
    • apparent_thickness_likelihood_II - New implementation that calculates thickness based on lithology ID and distance
    • gravity_inversion_likelihood - Basic implementation for gravity inversion
  • Add test for the new thickness likelihood function that demonstrates how to:

    • Set up a custom grid for a well
    • Calculate thickness using the new method
    • Visualize the results
  • Update development logs to mark completed tasks and add new ones

The new structure improves code organization and provides more flexible thickness calculation options.

Leguark added 3 commits May 4, 2025 08:31
Add `apparent_thickness_likelihood_II` function for calculating apparent thickness with structured grids. Introduce a new test case to validate functionality and enhance GemPy posterior visualization. Update documentation logs to reflect development progress.
@Leguark Leguark changed the title [WIP] Moving likelihood function to module Add thickness likelihood module and refactor existing likelihood functions May 4, 2025
Copy link
Member Author

Leguark commented May 4, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant