watex.utils.geotools.map_top#

watex.utils.geotools.map_top(top, data, end=None)[source]#

Reduce the plot map from the top value to the bottom assumed to be the maximum of investigation depth.

Parameters
  • top – float, is the top value from which the plot must be starts

  • data – the list of layers thicknesses in meters

  • end – The maximum depth for plotting. Might be reduced, but the default takes the maximum depth investigation depth

Returns

the mapping depth from the top to the maximum depth.

  • the index indicated the number of layer for visualizing to

    from the top to the max depth.

  • the list of pairs <top-bottom>, ex: [top, max depth]>

  • the value of thicknesses ranged from 0. to the bottom

  • the coverall, which is the cumul sum of the value of

    the thicknesses reduced compared to the total depth. It allows to track a bug issue.

Note that if coverall is different 100%, will return the default values giving values.

Example
>>> import watex.utils.geotools as GU
>>> ex= [ 59.0, 150.0, 590.0, 200.0] # layers thicknesses
>>> GU.map_top(60, ex)
... ((3, [60, 999.0], [149.0, 590.0, 200.0]), 'coverall = 100.0 %')