watex.utils.geotools.map_bottom#
- watex.utils.geotools.map_bottom(bottom, data, origin=None)[source]#
Reduce the plot map from the top assumes to start at 0. to the bottom value.
- Parameters:
bottom β float, is the bottom value from which the plot must be end
data β the list of layers thicknesses in meters
origin β The top value for plotting.by the default the origin takes 0. as the starting point
- Returns:
- the mapping depth from the top to the maximum depth.
- the index indicated the endpoint of number of layer
for visualizing.
the list of pairs <top-bottom>, ex: [0, bottom]>
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.
Note that to avoid raising errors, if coverall not equal to 100%, will return safety default values (original values).
- Example:
>>> ex= [ 59.0, 150.0, 590.0, 200.0] >>> map_bottom(60, ex) ... ((2, [0.0, 60], [59.0, 1.0]), 'coverall = 100.0 %')