watex.utils.geotools.fit_stratum_property#
- watex.utils.geotools.fit_stratum_property(fittedrocks, z, site_tres)[source]#
Separated whole blocks into different stratum and fit their corresponding property like depth and value of resistivities
- Parameters:
fittedrocks β array_like of layers fitted from the TRES
z β array like of the depth
site_tres β array like of the station TRES
- Returns:
s_grouped: Each stratum grouped from s_tres
site_tres_grouped: The site resistivity value site_tres grouped
z_grouped: The depth grouped (from the top to bottom )
z_cumsum_grouped: The cumulative sum grouped from the top to bottom
- Example:
>>> import watex.geology.core as GC >>> obj= GC.quick_read_geomodel() >>> logS1 = obj.nmSites[:, 0] >>> sg, stg, zg, zcg= fit_stratum_property ( obj.fitted_rocks, obj.z, obj.logS)