Skip to content

Add posterior analysis functionality with saving and visualization #6

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_prob_api
Choose a base branch
from

Conversation

Leguark
Copy link
Member

@Leguark Leguark commented May 3, 2025

Adding test to visualize gempy posterior models

Added a new test module for posterior analysis that visualizes GemPy models using posterior samples. The test loads posterior data from an Arviz netcdf file and plots the mean surface positions across multiple iterations.

Key changes:

  • Created new test directory for posterior analysis
  • Added functionality to save Arviz data to netcdf for later analysis
  • Moved backend initialization before model computation for consistency
  • Added visualization of posterior mean surface positions using gempy_viewer
  • Enhanced dev logs with notes about saving posteriors and likelihood functions

The test demonstrates how to load posterior samples and visualize their impact on geological models, providing a foundation for more advanced posterior analysis workflows.

Leguark added 3 commits May 3, 2025 15:04
Added 2D plotting functionality using gempy_viewer, improved test coverage by including posterior mean visualization, and adjusted geomodel refinement. Simplified readability by reorganizing imports, and replaced deprecated or less efficient operations.
@Leguark Leguark changed the title [TEST] Adding test to visualize gempy posterior models Add posterior analysis functionality with saving and visualization May 3, 2025
Copy link
Member Author

Leguark commented May 3, 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