watex.utils.exmath.define_conductive_zone#

watex.utils.exmath.define_conductive_zone(erp, stn=None, sres=None, *, distance=None, dipole_length=None, extent=7)[source]#

Detect the conductive zone from `s`ves point.

Parameters:
  • erp – Resistivity values of electrical resistivity profiling(ERP).

  • stn – Station number expected for VES and/or drilling location.

  • sres – Resistivity value at station number stn. If sres is given, the auto-search will be triggered to find the station number that fits the resistivity value.

  • distance – Distance from the first station to stn. If given, be sure to provide the dipole_length

  • dipole_length – Length of the dipole. Comonly the distante between two close stations. Since we use config AB/2

  • extent – Is the width to depict the anomaly. If provide, need to be consistent along all ERP line. Should keep unchanged for other parameters definitions. Default is 7.

Returns:

  • CZ:Conductive zone including the station position

  • sres: Resistivity value of the station number

  • ix_stn: Station position in the CZ

Note

If many stations got the same sres value, the first station is flagged. This may not correspond to the station number that is searching. Use sres only if you are sure that the resistivity value is unique on the whole ERP. Otherwise it’s not recommended.

Example:
>>> import numpy as np
>>> from watex.utils.exmath import define_conductive_zone
>>> sample = np.random.randn(9)
>>> cz, stn_res = define_conductive_zone(sample, 4, extent = 7)
... (array([ 0.32208638,  1.48349508,  0.6871188 , -0.96007639,
            -1.08735204,0.79811492, -0.31216716]),
     -0.9600763919368086,
     3)