GPRMax UI
GPRMax UI is a Python interface for building, running, and inspecting gprMax electromagnetic simulations. It wraps the gprMax input-command format with typed Python objects, manages common simulation output workflows, and provides plotting helpers for B-scans, geometry, snapshots, and rendered videos.
Current Version
The current package version is 1.0.3. The documented API reflects the live
package in this repository, including:
GeometryObjectsReadsupport for gprMax geometry-object files.GprMaxModel.to_json()andGprMaxModel.from_json()for model configuration reuse.snapshot_stride,num_threads,mpi,gpu, andgeometry_fixedrun options.- Parallel video-frame rendering through
save_video(..., workers=...). - Optional
vizandvideoextras for plotting, PyVista rendering, and MP4 export.
What It Provides
- Python objects for domains, materials, geometry, sources, receivers, and output commands.
- A
GprMaxModelworkflow for writing input files and calling the gprMax API. - Helpers for merging output files and reading receiver components.
- Visualization routines for model geometry, receiver data, snapshots, and videos.
- Parallel execution options for gprMax runs and video-frame rendering.
- JSON export and import for repeatable model definitions.
Minimal Example
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 | |
Next Steps
- Install the package and gprMax runtime with the installation guide.
- Build a complete first model in Getting Started.
- Configure larger runs and videos in Parallel Runs and Video.
- Review the main classes and helpers in the API Reference.
