Repository navigation
This patch fixes weak-signal synthetic soundings and smooth-inversion reporting.
- Screen noise-free readings before drawing log-space noise, then screen noisy readings again. Signals below the absolute noise floor no longer become enormous accepted readings or overflow during noise generation.
- Preserve the actual stopping reason after relaxing a smooth inversion's misfit target, including when the smoothest model already fits better than that target.
- Require at least three layers for smooth inversion so that the first and last interfaces span depth_range.
- Update release metadata, documentation and pre-commit hook versions.
Compatibility: invert_smooth(..., n_layers=2) now raises ValueError. For a two-layer fit with an estimated interface depth, use invert_few_layer(..., n_layers=2).
Validation: 150 local tests and 9 doctests passed, with 97.93% coverage and all 22 verification checks passing. The eight independent forward-model cross-checks against pyGIMLi and SimPEG passed in GitHub Actions. Required CI checks cover Python 3.12 through 3.15, Linux, Windows and macOS, oldest dependencies, lint, types, distributions and the documentation gallery. A TestPyPI publishing rehearsal also passed.
AI assistance: OpenAI Codex assisted the review, fixes, regression tests, documentation and release preparation. The review reproduced the original failures and checked the corrected noise-floor screening, stopping summaries and depth-grid validation.
Archive: 10.5281/zenodo.24072527.