watex.utils.defineConductiveZone#

watex.utils.defineConductiveZone(erp, station=None, position=None, auto=False, index='py', **kws)[source]#

Define conductive zone as subset of the erp line.

Indeed the conductive zone is a specific zone expected to hold the drilling location station. If drilling location is not provided, it would be by default the very low resistivity values found in the erp line.

Parameters
  • erp (array_like,) – the array contains the apparent resistivity values

  • station (str or int,) – is the station position name.

  • position (float,) – station position value.

  • auto (bool) – If True, the station position should be the position of the lower resistivity value in Electrical Resistivity Profiling.

  • indexing (str,) –

Returns

  • - conductive zone of resistivity values

  • - conductive zone positionning

  • - station position index in the conductive zone

  • - station position index in the whole |ERP| line

Example
>>> import numpy as np
>>>
>>> from watex.utils.coreutils import defineConductiveZone
>>> test_array = np.random.randn (10)
>>> selected_cz ,*_ = defineConductiveZone(test_array, 's20')
>>> shortPlot(test_array, selected_cz )