IndieML VES
v1.0.01D Vertical Electrical Sounding (VES) Occam inversion and forward modeling powered by pyGIMLi.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
invert_ves_sounding
Invert 1D Vertical Electrical Sounding (VES) apparent resistivity field data into a layered subsurface resistivity depth profile using pyGIMLi Occam inversion. Pass consistent length and resistivity units (e.g., m and Ohm-m, or ft and Ohm-ft). The result is a smooth, non-unique model, not a unique layered earth. When explaining results to a user, always report doi_depth, chi2, rms_error_pct, qc_flags, and the interpretation_notes field; describe features near or below doi_depth as weakly constrained; and treat the min/max envelope as sensitivity to smoothing only, no…
| Parameter | Type | Description |
|---|---|---|
rhoa * | array | 4 to 150 positive apparent resistivity readings matching spacing length (consistent units, e.g. Ohm-m or Ohm-ft) |
spacing * | array | 4 to 150 positive spacings: AB/2 for Schlumberger, or 'a' spacing for Wenner (consistent length units, e.g. m or ft) |
array_type | string | Electrode configuration: 'schlumberger' or 'wenner' |
auto_lam | boolean | Select the smoothest candidate from [500, 200, 100, 50, 20, 10, 5] reaching chi2 <= 1.05 via discrepancy principle (overrides lam; if no candidate reaches the target, falls back to the smoothest candi… |
error_pct | number | Fallback relative data error (%) applied uniformly when sd_pct is omitted |
i_mA | Optional injected current in mA (used for QC weighting when sd_pct is omitted; flags < 300 mA) | |
include_envelope | boolean | Compute min/max regularization sensitivity bounds by bracketing the selected lambda at 0.3x and 3.0x |
lam | number | Occam regularization smoothing weight (lambda), used when auto_lam is false |
max_iter | integer | Maximum Occam inversion iterations |
mn2 | Potential electrode half-spacing MN/2 (required for Schlumberger, must be > 0 and < AB/2; omitted for Wenner) | |
sd_pct | Optional per-reading stacking standard deviation (%), clamped to a 2.0% minimum error floor to prevent singular weights | |
v_mV | Optional measured potential voltage in mV (used for QC weighting when sd_pct is omitted; flags < 10 mV) |
forward_ves_sounding
Simulate a synthetic 1D Vertical Electrical Sounding (VES) apparent resistivity curve from known subsurface layer thicknesses and resistivities. Returns rhoa_true, optional rhoa_noisy (when noise_pct > 0), cumulative interface depths (layer_depths), and doi_depth. Useful for pre-survey electrode spread design and inversion benchmarking.
| Parameter | Type | Description |
|---|---|---|
resistivities * | array | True layer resistivities from surface layer down to bottom half-space (length must equal len(thicknesses) + 1) |
spacing * | array | 4 to 150 positive spacings: AB/2 for Schlumberger, or 'a' spacing for Wenner (consistent length units, e.g. m or ft) |
thicknesses * | array | Thicknesses of the top N-1 finite layers (same length units as spacing; bottom layer is a semi-infinite half-space) |
array_type | string | Electrode configuration: 'schlumberger' or 'wenner' |
mn2 | Potential electrode half-spacing MN/2 (required for Schlumberger, must be > 0 and < AB/2; omitted for Wenner) | |
noise_pct | number | Relative Gaussian noise percentage (0.0 to 25.0%) to populate rhoa_noisy (0.0 returns noise-free rhoa_true only). For closed-loop inversion tests, pass uniform [noise_pct]*N as sd_pct (noting invert_v… |
seed | Optional integer RNG seed for reproducible synthetic noise |