v0.1.9 (March 20, 2023)#
This is a change performed from v0.1.8.
Major feature Add impedance tensor multiple correction class (
watex.methods.ZC) and gives opportunity to export new tensor data into EDI files if the argumentout=True. For instance:watex.methods.ZC.remove_static_shift()remove the static shift from correction factor from x and y using the spatial median filterwatex.methods.ZC.remove_ss_emap()removes the static schift using the EMAP moving average filters such as:'ama': Adaptative moving average'tma': Trimming moving-average'flma': Fixed-length dipole moving average
watex.methods.ZC.remove_distortion()removes distortion D form an observed impedance tensor Z.watex.methods.ZC.get_ss_correction_factors()computes the static shift correction factor from a station using a spatial median filter.
Major feature Add new module (
watex.site.Profile) inwatex.siteas supplement site data transformation. Gives supplement materials (methods) for data transformation such as:watex.site.Profile.distance()computes the distance between profile coordinates pointswatex.site.Profile.bearing()computes the bearing between calculate bearing between two coordinates.watex.site.Profile.scale_positions()scale the position coordinates alongxandy. This is useful in complex terrain ( high topography )watex.site.Profile.shift_positions()shifts thexandyposition coordinates from the step and angle.watex.site.Profile.dms2ll()transforms arrayxandyfrom DD:MM:SS to degree decimal -longitude (x) and latitude (y)watex.site.Profile.ll2dms()does the revert process ofwatex.site.Profile.dms2ll()watex.site.Profile.make_xy_coordinates()generates synthetic coordinates from references latitude and longitude fromxandy.watex.site.Profile.interpolate()interpolatesx,yandelev( if applicable).
Fix Fix bug in updating tensor in
_zupdateclass of modulewatex.methods.em. Set the z property attribute using the _z. Idem for z_err which henceforth uses _z_err inwatex.externals.z.Zmodule.Enhancement Fix the dependencies when using
scikit-learn >=1.2.1. Data was new pickled in version1.2.1. No more longer uses the1.1.2version . Update to>=1.2.1to avoid the pickle warning at the beginning of package initialization as:UserWarning: Trying to unpickle estimator FeatureUnion from version 1.1.2 when using version 1.2.2. This might lead to breaking code or invalid results. Use at your own risk. For more info please refer to: https://scikit-learn.org/stable/model_persistence.html#security-maintainability-limitations warnings.warn(
The following changes are made in the
setup.pysetup_kwargs['install_requires'] = [ ... "numpy >=1.23.0", "xgboost >=1.7.3", # rather than >=1.5.0 "joblib >=1.1.1", # rather than >=1.2.0 "scikit-learn >=1.2.1", # rather than ==1.1.2" "threadpoolctl >=2.2.0", # rather than ==3.1.0 "matplotlib ==3.5.3", ]
Fix In
watex.utils.gistools.convert_position_float2str()fix the bug related to the use oftype(position) is floatin the validation of the position value( expected to be a float).type (position)is replaced byisinstance (position, float).Fix Bug fix in
watex.view.TPlot.plot_rhoa()whenerrorbarparameter is set toFalse. No more crash , apparent resistivity plot could henceforth be possible either witherrorbar=TrueorFalse.Feature
watex.view.TPlot.plot_corrections()allows to visualize the static shift correction as well as the distortion.