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

Merged
merged 3 commits into from
Jun 12, 2025

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 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 Jun 12, 2025

Merge activity

  • Jun 12, 8:22 AM UTC: A user started a stack merge that includes this pull request via Graphite.
  • Jun 12, 8:29 AM UTC: Graphite rebased this pull request as part of a merge.
  • Jun 12, 8:31 AM UTC: @Leguark merged this pull request with Graphite.

@Leguark Leguark changed the base branch from gempy_prob_api to graphite-base/6 June 12, 2025 08:26
@Leguark Leguark changed the base branch from graphite-base/6 to main June 12, 2025 08:28
Leguark added 3 commits June 12, 2025 08:29
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 force-pushed the gempy_posterior_analysis branch from 7e431f9 to 774b63d Compare June 12, 2025 08:29
@Leguark Leguark merged commit f5d088c into main Jun 12, 2025
1 check passed
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