Skip to content

Conversation

@Leguark
Copy link
Member

@Leguark Leguark commented Oct 26, 2025

Add Geophysics Module Documentation and Gravity Benchmarks

This PR adds comprehensive documentation for the geophysics module and introduces analytical benchmark tests for gravity calculations.

Documentation Additions

  • Add detailed README for the geophysics module explaining architecture, implementation, and usage
  • Document gravity implementation with mathematical basis and workflow diagrams
  • Outline planned magnetics implementation with physical principles and roadmap
  • Include developer guide for magnetics implementation with phased approach

Testing Improvements

  • Add analytical benchmark test comparing gravity calculation against sphere solution
  • Implement line profile symmetry test to verify spatial accuracy and physical consistency
  • Validate numerical accuracy against theoretical expectations
  • Add expected values to existing gravity test

The benchmark tests ensure the implementation is both mathematically correct and physically plausible, with appropriate tolerances for voxelization effects.

Copy link
Member Author

Leguark commented Oct 26, 2025

@Leguark Leguark changed the title [TEST] Adding analytical comparison test for gravity [ENH] Add geophysics module with gravity modeling and magnetic implementation plan Oct 26, 2025
@Leguark Leguark marked this pull request as ready for review October 26, 2025 13:24
Copy link
Member Author

Leguark commented Oct 27, 2025

Merge activity

  • Oct 27, 12:51 PM UTC: A user started a stack merge that includes this pull request via Graphite.
  • Oct 27, 12:52 PM UTC: Graphite rebased this pull request as part of a merge.
  • Oct 27, 12:55 PM UTC: @Leguark merged this pull request with Graphite.

@Leguark Leguark changed the base branch from geophysics to graphite-base/38 October 27, 2025 12:51
@Leguark Leguark changed the base branch from graphite-base/38 to main October 27, 2025 12:51
Introduce a new test case to verify spatial accuracy and physical consistency in gravity calculations. The test benchmarks symmetry, peak location, and decay along a horizontal profile.
Introduce a developer roadmap for implementing magnetics in GemPy v3, with detailed phases, APIs, milestones, tests, and architectural parallels to gravity workflows. Includes induced-only TMI modeling, remanence support, advanced outputs, and performance optimizations.
@Leguark Leguark merged commit 8fafc7c into main Oct 27, 2025
2 checks 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.

2 participants