Recent Releases of watex
watex -
Full Changelog: https://github.com/WEgeophysics/watex/compare/v0.3.2...v0.3.3
v0.3.3 (March 15, 2024)
This release of watex introduces a series of refinements and additions to the API compared to version v0.3.2. The updates
focus on enhancing the user experience through better error handling, performance improvements, and the introduction of new f
unctionalities for geophysical data visualization and analysis.
|Fix| Addressed an
IndexErrorin :meth:~watex.methods.EMthat was triggered by providing an incorrect path or when EDI files were missing. The system has been improved to handle such scenarios gracefully, ensuring enhanced error reporting and overall system robustness.|Enhancement| Updated the :meth:
watex.utils.plotutils.plot_errorbarfunction by introducing ashow_error_barsparameter. This allows for optional suppression of error bars in plots, offering a cleaner visualization option when error bars are unnecessary or might clutter the display.|Enhancement| The newly introduced :meth:
watex.utils.plotutils.plot_tensors2function replaces the originalplot_tensorsmethod, leveraging theshow_error_barsparameter fromplot_errorbar. This update facilitates a more tailored approach to the visualization of electromagnetic tensor data, incorporating feedback from our user community for a more intuitive plotting experience.|Improvement| Enhanced the error handling mechanisms and user feedback for various data loading and processing operations within watex. These improvements aim to streamline the debugging process, making it easier for both developers and users to diagnose and resolve issues.
|Performance| Implemented optimizations in key computational routines and data handling processes. These changes contribute to faster analysis throughput and more efficient memory usage when working with large geophysical datasets, ensuring that watex can handle complex analysis tasks with improved performance.
|Feature| Introduced a new analysis module :func:
watex.utils.plot_tensors2designed for advanced geophysical interpretation tasks. While still in its early stages, this module lays the groundwork for sophisticated analytical capabilities that will be expanded in future releases.|Documentation| Expanded the documentation to include comprehensive examples and detailed guides for the newly introduced features. This effort aims to enhance understanding and utilization of watex's capabilities, supporting users in achieving their analysis objectives with the tool.
These updates reflect our commitment to continually enhancing :code:watex based on user input and the evolving needs of the
geophysical analysis community. We value and appreciate the feedback and contributions from our users that drive the ongoing
development and improvement of watex.
- Python
Published by earthai-tech almost 2 years ago
watex - 0.3.2
v0.3.2 (March 9, 2024)
Minor changes have been made to the API since version v0.3.1, leading
to fixed bugs in frequencies handling.
|Fix| Fixed the bound error in :meth:
~watex.methods.MT.remove_static_shiftby rounding the frequency checks to 5 decimal places.|Fix| There is no longer a need to recompute frequencies when no extraneous frequencies are detected for omission. :meth:
~watex.methods.MT.drop_frequenciesnow consistently returns the original :term:MTobject.
- Python
Published by WEgeophysics almost 2 years ago
watex - 0.3.1
v0.3.1 (March 7, 2024)
Changes and enhancements have been made to the API since version v0.3.0, leading to the introduction of new features and the resolution of various bugs.
|API change| From now on, only the selected utilities listed below are available as the public API, which has led to shorter loading times for the package. The available public API functions include:
- :func:
watex.utils.bi_selectoravailable publicly as :func:watex.bi_selector - :func:
watex.utils.cleaneravailable publicly as :func:watex.cleaner - :func:
watex.utils.erpSelectoravailable publicly as :func:watex.erpSelector - :func:
watex.utils.erpSmartDetectoravailable publicly as :func:watex.erpSmartDetector - :func:
watex.utils.fetch_dataavailable publicly as :func:watex.fetch_data - :func:
watex.utils.fittensoravailable publicly as :func:watex.fittensor - :func:
watex.utils.get2dtensoravailable publicly as :func:watex.get2dtensor - :func:
watex.utils.make_erpavailable publicly as :func:watex.make_erp - :func:
watex.utils.make_naive_pipeavailable publicly as :func:watex.make_naive_pipe - :func:
watex.utils.make_vesavailable publicly as :func:watex.make_ves - :func:
watex.utils.magnitudeavailable publicly as :func:watex.magnitude - :func:
watex.utils.naive_imputeravailable publicly as :func:watex.naive_imputer - :func:
watex.utils.naive_scaleravailable publicly as :func:watex.naive_scaler - :func:
watex.utils.ohmicAreaavailable publicly as :func:watex.ohmicArea - :func:
watex.utils.plotAnomalyavailable publicly as :func:watex.plotAnomaly - :func:
watex.utils.plot_confidence_inavailable publicly as :func:watex.plot_confidence_in - :func:
watex.utils.plotOhmicAreaavailable publicly as :func:watex.plotOhmicArea - :func:
watex.utils.plot_sfiavailable publicly as :func:watex.plot_sfi - :func:
watex.utils.poweravailable publicly as :func:watex.power - :func:
watex.utils.qcavailable publicly as :func:watex.qc - :func:
watex.utils.read_dataavailable publicly as :func:watex.read_data - :func:
watex.utils.selectfeaturesavailable publicly as :func:watex.selectfeatures - :func:
watex.utils.sfiavailable publicly as :func:watex.sfi - :func:
watex.utils.shapeavailable publicly as :func:watex.shape - :func:
watex.utils.smart_label_classifieravailable publicly as :func:watex.smart_label_classifier - :func:
watex.utils.to_numeric_dtypesavailable publicly as :func:watex.to_numeric_dtypes - :func:
watex.utils.type_available publicly as :func:watex.type_ - :func:
watex.utils.vesSelectoravailable publicly as :func:watex.vesSelector
- :func:
|API change| The parameter
edi_objin :func:watex.utils.plot_skewhas been deprecated and replaced byedis_list, which refers to either a collection of :term:EDIfiles or a full path to EDI files. Two-dimensional skewness, represented as :math:eta, can now be visualized by setting the parameterview='2D'.|API change| The
xgboostlibrary is no longer automatically installed as a dependency. Users must install it separately for complete model functionality or use thedevoption as shown below:
.. code-block:: bash
pip install watex[dev]
|Fix| The :class:
watex.em.EMmodule now throws a :class:watex.exceptions.EDIErrorinstead of anAttributeErrorwhen an EDI file is expected but an object is passed.|Fix| The
base_estimatorparameter is no longer available in scikit-learn versions greater than 1.2; it has been renamed toestimator. Consequently, :mod:watex.modelsand :mod:watex.models.premodelshave been updated to reflect this change.|Feature| The :func:
watex.utils.plotutils.plot_l_curvefunction has been introduced to plot the Hansen L-curve, with an option to highlight the Hansen point. This feature uses the L-curve criterion to determine the most suitable model after performing multiple inversions with different :math:\tauvalues.
- Python
Published by WEgeophysics almost 2 years ago
watex - v0.3.0
v0.3.0 (November 22, 2023)
These are substantial changes in v0.2.7 API that lead to new features and fugs fixed.
|API change| Datasets
h.h5andn.npzfor Hongliu hydrogeological logging and Nansha land subsidence data are removed from
the software installation. User can fetch the data as usual and should be downloaded remotely. This will considerably reduce the size of the :mod:watex.datasetspackage.|API change|
watex.methods.em.Processingandwatex.methods.em.ZCdo no longer exist. They have been changed to :class:watex.methods.em.EMAPand :class:watex.methods.em.MTrespectively.|API change|
watex.utils.funcutils.fit_by_llis deprecated and replaced by :func:watex.utils.funcutils.fit_ll.|Fix| Bug in removing the static shift in :term:
AMTdata. Henceforth the correction factor method deprecated methodwatex.methods.em.ZC.get_ss_correction_factorsreplaced by :meth:watex.methods.em.MT.get_ss_correction_factorsis applied for each station differently rather than using the factor to correct all stations. There are also a choice for user to input the correction factorsss_fxandss_fymanually into a list.|Feature| :func:
watex.utils.plotutils.plot_tensorsplots resistivity and phase tensors or the real and imaginary impedance.|Feature| :func:
watex.utils.torres_verdin_filtercalculates the adaptive moving average of a given data array from Torres and Verdin codes.|Feature| :func:
watex.methods.em.filter_noisesremove noise from componentxx,yy,xyoryx.|Feature| :meth:
watex.methods.em.MT.remove_noisesremoves artifacts in the data and smooth it.|Feature| :func:
watex.methods.em.drop_frequenciesdrop bad frequencies or frequencies with no consistent data in the EDI files.|Feature| :func:
watex.utils.plotutils.plot_soundingplot the vertical electrical resistivity data.|Feature| :func:
watex.utils.baseutils.download_file2is the new consistent function to download file remotely rather than using :func:watex.utils.baseutils.get_remote_data. Both expectrequestslibrary to be installed.|Enhancement| :func:
watex.utils.plot_profilingacceptsaxas a paramater.|Enhancement| :func:
watex.view.TPlot.plot_rhophichanges the style of plot in preceeding versions. It accepts parameterkindfor plotting multiple stations differently.|Enhancement| Fix overlapping xlabels in the :func:
watex.utils.exmath.plotOhmicArea.
- Python
Published by WEgeophysics over 2 years ago
watex - 0.2.4
v0.2.4 (May 26, 2023)
These are minor changes in v0.2.3 that shows fugs fixed, features and improvements.
|API change| Change performed in :mod:
watex.geology.core. The classBaseis renamed as :class:watex.geology.core.GeoBase.|Fix| Bug fixed in :func:
watex.utils.plot_loggingwhen imputing NaN values in the data. Indeed, henceforth all the column of the data that is composed entirely with NaN is removed automatically. This fixes the bug occurs in when the scaled feature dimension are higher than the original ones.|Fix| Bug fixed in :func:
watex.utils.to_numeric_dtypeswhen sanitizing the dataframe with integer columns. In such case, the data sanitizing is not possible. It henceforth passes rather than raising error. However when column are mixed ( numeric and string ), all should be converted to string before sanitization.|Feature| :class:
watex.geology.drilling.DSBoreholeworks with data collected in a single borehole. For instance, the arrangement ofh502data in :func:watex.datasets.load_hlogs. Data columns are the all attributes of the object and any non-alphateic character is replaced by_. For instance, a column namelayer thicknessshould have an attribute namedlayer_thickness.|Feature| :class:
watex.geology.drilling.DSBoreholesworks similarly as :class:watex.geology.drilling.DSBoreholebut uses multiple borehole data. note the's'at the end of the class. Here, each borehole (row) is an object which encompasses all columns as attributes. To have full control of how data must be retrieved as an object,holeidparameter must be set. For instance, to retrieve the borehole with ID equals tobx02, after fitting the class with appropriate parameters, attibutehole depth( if exist in the data) can be retrieved asself.hole.bx02.hole_depth.|Feature| Add :func:
watex.utils.funcutils.replace_datato replace items in the datan-times. This is useful for data duplication|Feature| add :class:
watex.utils.funcutils.make_obj_consistent_if. Function combine default values to item to create default consistent iterable objects. This is valid if the size of item does not fit the number of expected iterable objects. Commonly this work in synergy with :func:watex.utils.funcutils.random_sampling.|Feature| :func:
watex.utils.funcutils.convert_value_inconverts value based on the reference unit. Mostly used the known SI units likemeters (m),grammes (g)etc.|Enhancement| Supplement boreholes data are added to :func:
watex.datasets.load_hlogs. They include boreholes'h805' ,'h1102' ,'h1405', 'h2602','h803', 'h1104', 'h604', 'h2003'and'h1602'.|Enhancement| Function :func:
watex.utils.to_numeric_dtypesacceptsdrop_nan_columnspassed asTrueby default with dropped the NaN rows and NaN columns in the data. Moreover,reset_indexanddrop_indexare available to new data index management.|Enhancement| Function :func:
watex.datasets.load_mxsenforces attributeXandywhen object is retrieved. For instance, fetching the the training set scaledXshould be:
.. code-block:: python
>>> import watex as wx
>>> X_scaled = wx.datasets.load_mxs (key ='scale').X
>>> # or by merely calling the boilerplate `fetch_data` function as
>>> X_scaled =wx.fetch_data ('mxs', key ='scale').X
It also accepts test_ratio to split the training and test sets via split_X_y=True. Note that return_X_y=True is not necessary when
split_X_y is set to True.
- |Enhancement | :class:
watex.transformers.featurize_Xacceptsmodelas parameter. It is useful to featurize the test data separately from the train data to avoid leakage information. Ifsparseparameter is set toTrue, the training and testing data are outputted in sparse coordinates format or compressed sparse row format that is controlled by thesparsityparameter.
- Python
Published by WEgeophysics almost 3 years ago
watex - v0.2.3
What's Changed
- Add new QC function applicable outside the EM processing QC method by @WEgeophysics in https://github.com/WEgeophysics/watex/pull/172
- fix buffering frequency and deprecate single EDI reading- update in … by @WEgeophysics in https://github.com/WEgeophysics/watex/pull/173
- redirect older release not to archive - update readme by @WEgeophysics in https://github.com/WEgeophysics/watex/pull/174
- redirect the older releases to the archive-update readme by @WEgeophysics in https://github.com/WEgeophysics/watex/pull/175
- update URL and target of zenodo record DOI by @WEgeophysics in https://github.com/WEgeophysics/watex/pull/176
- Format Profile elevation warning message by @WEgeophysics in https://github.com/WEgeophysics/watex/pull/177
- API change of _io module in datasets subpackage to module io by @WEgeophysics in https://github.com/WEgeophysics/watex/pull/178
- New features ZC and Profile for tensor corrections and Profile data manipulations by @WEgeophysics in https://github.com/WEgeophysics/watex/pull/179
- fix pickling modules using importlib.resouces. by @WEgeophysics in https://github.com/WEgeophysics/watex/pull/180
- use importlib resources to fix the path of pkl files for doc build by @WEgeophysics in https://github.com/WEgeophysics/watex/pull/181
- fix missing pickling module by @WEgeophysics in https://github.com/WEgeophysics/watex/pull/182
- 0.1.9 by @WEgeophysics in https://github.com/WEgeophysics/watex/pull/184
- fix switcher in doc build by @WEgeophysics in https://github.com/WEgeophysics/watex/pull/185
- Uncomment the computingresistivityphase by @WEgeophysics in https://github.com/WEgeophysics/watex/pull/186
- update ipykernel for building the doc by @WEgeophysics in https://github.com/WEgeophysics/watex/pull/187
- use ydata-profiling back to version 3.6.1 for building the doc by @WEgeophysics in https://github.com/WEgeophysics/watex/pull/188
- remove ydata profiling in building examples by @WEgeophysics in https://github.com/WEgeophysics/watex/pull/189
- update release by @WEgeophysics in https://github.com/WEgeophysics/watex/pull/190
- skip reading EDI when passed as a list by @WEgeophysics in https://github.com/WEgeophysics/watex/pull/191
- fix test in electrical resistivity Profiling by @WEgeophysics in https://github.com/WEgeophysics/watex/pull/192
- upload release v0.2.0 by @WEgeophysics in https://github.com/WEgeophysics/watex/pull/193
- Improve the appareance in litteral code in doc by @WEgeophysics in https://github.com/WEgeophysics/watex/pull/194
- Improve the appearance in litteral code in doc by @WEgeophysics in https://github.com/WEgeophysics/watex/pull/195
- fix issue in code literal appearance in the doc by @WEgeophysics in https://github.com/WEgeophysics/watex/pull/196
- sanitize the literal code by @WEgeophysics in https://github.com/WEgeophysics/watex/pull/197
- Sanitize the literal code (#197) by @WEgeophysics in https://github.com/WEgeophysics/watex/pull/198
- Develop by @WEgeophysics in https://github.com/WEgeophysics/watex/pull/199
- Develop by @WEgeophysics in https://github.com/WEgeophysics/watex/pull/200
- Develop by @WEgeophysics in https://github.com/WEgeophysics/watex/pull/201
- Develop by @WEgeophysics in https://github.com/WEgeophysics/watex/pull/202
- Add version control in latest development by @WEgeophysics in https://github.com/WEgeophysics/watex/pull/203
- update version 0.2.2 by @WEgeophysics in https://github.com/WEgeophysics/watex/pull/204
- Update switcher version ( #204 ) by @WEgeophysics in https://github.com/WEgeophysics/watex/pull/205
Full Changelog: https://github.com/WEgeophysics/watex/compare/v0.2.2...v0.2.3
- Python
Published by WEgeophysics almost 3 years ago
watex - v0.1.9
What's Changed
- add confidence plot prior to the EM tensor recovery by @WEgeophysics in https://github.com/WEgeophysics/watex/pull/167
- Develop by @WEgeophysics in https://github.com/WEgeophysics/watex/pull/168
- fix attribute Error generated in stratifydata from BaseSteps module by @WEgeophysics in https://github.com/WEgeophysics/watex/pull/169
- fix issue of flake8- revising the setup.cfg by @WEgeophysics in https://github.com/WEgeophysics/watex/pull/170
- Develop by @WEgeophysics in https://github.com/WEgeophysics/watex/pull/171
Full Changelog: https://github.com/WEgeophysics/watex/compare/v0.1.8...v0.1.9
- Python
Published by WEgeophysics almost 3 years ago
watex - v0.1.8
What's Changed
- add confidence plot prior to the EM tensor recovery by @WEgeophysics in https://github.com/WEgeophysics/watex/pull/167
- Develop by @WEgeophysics in https://github.com/WEgeophysics/watex/pull/168
- fix attribute Error generated in stratifydata from BaseSteps module by @WEgeophysics in https://github.com/WEgeophysics/watex/pull/169
- fix issue of flake8- revising the setup.cfg by @WEgeophysics in https://github.com/WEgeophysics/watex/pull/170
- Develop by @WEgeophysics in https://github.com/WEgeophysics/watex/pull/171
Full Changelog: https://github.com/WEgeophysics/watex/compare/v0.1.7...v0.1.8rc1
- Python
Published by WEgeophysics almost 3 years ago
watex - 0.1.7
What's Changed
- Address review comments by @WEgeophysics in https://github.com/WEgeophysics/watex/pull/147
- Addressed review comments- adaptations and features- fix bug .... by @WEgeophysics in https://github.com/WEgeophysics/watex/pull/148
- fix in API-references, sphinx import zip_extractor from funcutils by @WEgeophysics in https://github.com/WEgeophysics/watex/pull/149
- add release notes v0.1.6 including review comments by @WEgeophysics in https://github.com/WEgeophysics/watex/pull/150
- add release notes v0.1.6 including review comments and fix bug in doc building by @WEgeophysics in https://github.com/WEgeophysics/watex/pull/151
- Bump actions/setup-python from 3 to 4 by @dependabot in https://github.com/WEgeophysics/watex/pull/152
- Develop by @WEgeophysics in https://github.com/WEgeophysics/watex/pull/153
- fix doc building using matplotlib==v3.5.2 rather than latest version-… by @WEgeophysics in https://github.com/WEgeophysics/watex/pull/154
- Bug fix with ~TPlot.plotphasetensors using Matplotlib version v3.5.3 max by @WEgeophysics in https://github.com/WEgeophysics/watex/pull/155
- revised documentation - fix typos in plotrestoringphase_tensors by @WEgeophysics in https://github.com/WEgeophysics/watex/pull/156
- Bug fixed and new adaptation in new implementation of quality control by @WEgeophysics in https://github.com/WEgeophysics/watex/pull/157
- revised the documentation and release notes by @WEgeophysics in https://github.com/WEgeophysics/watex/pull/158
- fix installation Cython dependency from flask8 when matplotlib is set to >3.5.3 by @WEgeophysics in https://github.com/WEgeophysics/watex/pull/159
- Develop by @WEgeophysics in https://github.com/WEgeophysics/watex/pull/160
- plot skew 2D with renamed labels by @WEgeophysics in https://github.com/WEgeophysics/watex/pull/161
- plot skew 2D with renamed labels by @WEgeophysics in https://github.com/WEgeophysics/watex/pull/162
- Develop by @WEgeophysics in https://github.com/WEgeophysics/watex/pull/163
- fix suppressoutliers in plotskew by @WEgeophysics in https://github.com/WEgeophysics/watex/pull/164
- Develop by @WEgeophysics in https://github.com/WEgeophysics/watex/pull/165
- Develop by @WEgeophysics in https://github.com/WEgeophysics/watex/pull/166
Full Changelog: https://github.com/WEgeophysics/watex/compare/v0.1.6...v0.1.7
- Python
Published by WEgeophysics almost 3 years ago
watex - v0.1.6
v0.1.6 (February 26, 2023)
This is a minor change performed from v0.1.5 and bug fixes for issues identified. Furthermore, the
comments <comments> from Editors and reviewers to improve the paper submitted to softwareX_ are
also displayed in the final section of this note with the replies for bug fixes and improvements.
Add :func:
watex.utils.get2dtensorfor getting the tensor from 3D to 2D after signal recovery with :meth:watex.methods.Processing.zrestore.Add skew visualization: :func:
watex.utils.plot_skewfor phase-sensitive visualization; :meth:watex.view.TPlot.plotSkewfor a consistent plot for phase-sensitive visualizationVisualizes the phase tensors with :meth:
watex.view.TPlot.plot_phase_tensors.Load Huayuan :term:
SEG- :term:EDIdatasets from :func:watex.datasets.load_huayuan.Warn user when DC-parameters can be computed because of constraints (fixed
AttributeErrorin :meth:watex.methods.ResistivityProfiling.summary)add
openpyxlas the hard dependency at the initiliation of the package to avoid crashing when :mod:watex.geologymodule is called.Bug fixed when calling the fine-tuned models from :class:
watex.GridSearchMultipleobjet. Henceforth models can be fetched as :class:watex.utils.box.Boxspaceobject that saves the estimator parameters, model names and cv results.
- Python
Published by WEgeophysics about 3 years ago
watex - watex-v0.1.3
Add electromagnetic array and premodels
- Python
Published by WEgeophysics over 3 years ago
watex - WATex v0.1.1
Release after testing successfully the first part of the project
- Python
Published by WEgeophysics over 4 years ago