watex.utils.geotools.fit_rocks#

watex.utils.geotools.fit_rocks(logS_array, lns_, tres_)[source]#

Find the pseudo rock name at each station from the pseudovalue intres.

Parameters:
  • logS_array – array_like of under the station resistivity value

  • lns – array_like of the rocks or the pseudolayers (automatick)

  • tres – array_like of the TRES or the pseudo value of the TRES

Returns:

list of the unik corresponding resistivity value at each station and its fitting rock names.

Example:
>>> import watex.utils.geotools as GU
>>> import watex.geology.core as GC
>>> obj= GC.quick_read_geomodel()
>>> pslns , pstres,  ps_lnstres= GU.make_strata(obj)
>>> logS1 =obj.nmSites[0] # station S0
>>> fit_rock(logS1, lns_= pslns, tres_= pstres)