watex.datasets.make_ves#
- watex.datasets.make_ves(*, samples=31, min_rho=10.0, max_rho=1000.0, max_depth=100.0, order='-', as_frame=False, seed=None, iorder=3, xy=None, is_utm=False, add_xy=False, utm_zone=None, epsg=None)[source]#
Generate Vertical Electrical Sounding (VES) data from pseudo-depth measurements.
For a large pseudo-depth measurements, one can change the number of samples to a large values. The default samples presumed collected is
samples=31measurements in deeper.- Parameters
samples (int, default=42) – number of measurements depth AB/2 in meters.
max_rho (float, default=1e3) – maximum resistivity value expected in deeeper on the survey area in \(\\Omega.m\)
min_rho (float, default=1e1) – minimum resistivity value expected in deeper on the survey area in \(\\Omega.m\)
order (str , default='-') – Direction of the projection line. By default the projected line is in ascending order i.e. from SW to NE with angle r set to
45degrees. Could be-for descending order. Any other value should be in ascending order.max_depth (float, default=100) – Value of the measurement in deeper expected to reach by AB/2 in meters.
as_frame (bool, default=False,) – if
True, outputs the data into as a pandas dataframe,Boxspaceobject otherwise.seed (int, Optional,) – It allows reproducing the same data. If value is passed, it reproduces the same data at that sample points.
iorder (int, default=3) – Inflexion order. It is a positive value greater than 0. If
None, it should be computed using the length of extrema (local + global). It also might be lower as possible to let the fitting VES curve more realistic.xy (tuple, optional) –
Coordinates point ( easting, northing ) or (lon, lat) corresponding to the VES points
sves. If coordinates values are not given coordinates are randomly generated into (lon, lat) and stored into the attribute xy. To returns the xy auto-coordinates whenas_frame=Trueset add_xy toTrue.New in version 0.2.1.
is_utm (bool, default=False) – In principle, xy expects to be in longitude-latitude coordinates. However if coordinates are passed into a UTM such as easting-northing, user can specify the utm_zone to convert the xy values into a valid longitude and latitude coordinates.
add_xy (bool, default=False) – Add xy coordinates to the VES dataframe.
utm_zone (str, Optional) – To generate coordinates xy from a specific zone, utm_zone can be specified, otherwise
29Nis used instead.epsg (int, str, Optional) – EPSG number defining projection. See http://spatialreference.org/ref/ for moreinfo. Overrides utm_zone if both are provided
- Return type
(pd.Dataframe |
Boxspace)
Notes
when returning the
Boxspaceobject, each columns of ‘VES’ data can be retrieved as an attributes. Check the examples belowExamples
>>> from watex.datasets.gdata import make_ves >>> b = make_ves (samples =50 , order ='+') # 50 measurements in deeper >>> b.resistivity [:-7] Out[314]: array([429.873 , 434.255 , 438.5707, 442.8203, 447.0042, 451.1228, 457.5775]) >>> b.frame.head(3) Out[315]: AB MN resistivity 0 1.0 0.6 429.872999 1 2.0 0.6 434.255018 2 3.0 0.6 438.570675 >>> ves_data = make_ves (samples =50 , min_rho =10, max_rho =1e5 , as_frame =True, add_xy= True , xy = ( 3143965.855 , 336704.455) , is_utm = True , utm_zone = '49N', epsg =None) >>> ves_data.head(2) Out[316]: AB MN resistivity longitude latitude 0 1.0 0.6 51544.426685 107.901553 -61.802165 1 2.0 0.6 51420.739513 107.901553 -61.802165