IndieML VES

v1.0.0
io.github.ezchx/indieml-ves Checked 4 days ago Published 4 days ago

1D 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…

ParameterTypeDescription
rhoa *array4 to 150 positive apparent resistivity readings matching spacing length (consistent units, e.g. Ohm-m or Ohm-ft)
spacing *array4 to 150 positive spacings: AB/2 for Schlumberger, or 'a' spacing for Wenner (consistent length units, e.g. m or ft)
array_typestringElectrode configuration: 'schlumberger' or 'wenner'
auto_lambooleanSelect 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_pctnumberFallback relative data error (%) applied uniformly when sd_pct is omitted
i_mAOptional injected current in mA (used for QC weighting when sd_pct is omitted; flags < 300 mA)
include_envelopebooleanCompute min/max regularization sensitivity bounds by bracketing the selected lambda at 0.3x and 3.0x
lamnumberOccam regularization smoothing weight (lambda), used when auto_lam is false
max_iterintegerMaximum Occam inversion iterations
mn2Potential electrode half-spacing MN/2 (required for Schlumberger, must be > 0 and < AB/2; omitted for Wenner)
sd_pctOptional per-reading stacking standard deviation (%), clamped to a 2.0% minimum error floor to prevent singular weights
v_mVOptional 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.

ParameterTypeDescription
resistivities *arrayTrue layer resistivities from surface layer down to bottom half-space (length must equal len(thicknesses) + 1)
spacing *array4 to 150 positive spacings: AB/2 for Schlumberger, or 'a' spacing for Wenner (consistent length units, e.g. m or ft)
thicknesses *arrayThicknesses of the top N-1 finite layers (same length units as spacing; bottom layer is a semi-infinite half-space)
array_typestringElectrode configuration: 'schlumberger' or 'wenner'
mn2Potential electrode half-spacing MN/2 (required for Schlumberger, must be > 0 and < AB/2; omitted for Wenner)
noise_pctnumberRelative 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…
seedOptional integer RNG seed for reproducible synthetic noise