Giter Site home page Giter Site logo

wegeophysics / pycsamt Goto Github PK

View Code? Open in Web Editor NEW
22.0 2.0 7.0 49.13 MB

A package for audio-frequency magnetotellurics

Home Page: https://pycsamt.readthedocs.io

License: GNU General Public License v3.0

Python 98.57% MATLAB 1.08% TeX 0.35%
geophysics groundwater python resistivity occam inversion geology magnetotellurics modem electromagnetic

pycsamt's Introduction

pycsamt: A package for audio-frequency magnetotellurics

Documentation Status Build Status GitHub GitHub release (latest by date) DOI PyPI version

Overview

  • Purpose

    Previously, the software was intended for controlled source audio-frequency magnetotelluric (CSAMT) data processing (hereinafter the suffix CSAMT) and mostly related to the groundwater exploration. The recent development is focused on the audio-magnetotelluric(AMT) methods. Indeed, the AMT methods are used broadly in diverse of exploration problems such as mineral, hydrocarbon, groundwater resources, as well as the fault-zone mapping above the 1km depth. pycsamt is designed to bring a piece of solution to the problems encountered by using AMT methods. It contains steps of AMT data processing and deals with OCCAM2D of DeGroot-Hedlin and Constable, 1990 , the MT2DInvMatlab of Lee et al., 2009 and ModEM of Kelbert et al., 2014 for the modeling purpose.

    It also provides processing tools for filtering and processing data( the trimming moving-average (MA), the fixed dipole-length MA (Zonge International Engineering (Zonge, 2000)), the adaptative MA ( Torres-verdìn and Bostick, 1992). These filters are mostly used for fast removing the static effect especially in electromagnetic-array profiling survey. Some others filters such as "simple" for outliers removal and "PCA" can also be applied upstream for a particular data where the interferences are very strong (e.g. intenses humman activities, power lines, ...). Moreover, the "Savitzky-Golay" filter is also added to remove high-frequency noise from data since it has the advantage of preserving the original shape and features of the signal better than other types of filtering approaches such as MA techniques (simple, exponential, cumulative, weight).

  • Note

    For long periods or MT methods (below 1Hz), it is recommended to visit other suitable softwares such as MTpy, FEMT2D, razorback or consult the MTNet website. Nonetheless, the sofware has a feature to generate outputs/objects for other external modeling softwares such as MTpy, OasisMontaj and GoldenSoftware.

Documentation

Credits

We use or link some third-party software (beside the usual tool stack: Numba, Numpy, Scipy, SumPy, Matplotlib) and are grateful for all the work made by the authors of these awesome open-source tools:

System requirements

  • Python 3.7+

Citations

We'd much appreciate if you consider citing the toolbox as a contribution in a published work:

Kouadio, K.L., Liu, R., Mi, B., Liu, C., 2022. pyCSAMT: An alternative Python toolbox for groundwater exploration using controlled source audio-frequency magnetotelluric. J. Appl. Geophys. 201, 104647. https://doi.org/10.1016/j.jappgeo.2022.104647.

A case study using the software can also be found in the paper below:

Kouadio, L. K., Liu, R., Malory, A. O., Liu, W., Liu, C., (2023). A novel approach for water reservoir mapping using controlled source audio - frequency magnetotelluric in Xingning area , Hunan Province, China. Geophys. Prospect., https://doi.org/10.1111/1365-2478.13385

Contributors

  1. Department of Geophysics, School of Info-physics and Geomatics Engineering, Central South University, China.
  2. Equipe de Recherche Géophysique Appliquée, Laboratoire de Geologie Ressources Minerales et Energetiques, UFR des Sciences de la Terre et des Ressources Minières, Université Félix Houphouët-Boigny, Cote d'Ivoire.

pycsamt's People

Contributors

wegeophysics avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

pycsamt's Issues

Issue_templates_2

Expected Behavior

Current Behavior

Possible Solution

Steps to Reproduce (for bugs)

# Paste your code here
#
#

Context

Your Environment

  • Operating system:
  • PyCSAMT version:
  • Python version:
  • Matplotlib version:
  • Matplotlib backend (print(matplotlib.get_backend())):
  • QT version:

Installed Python Packages:
use pip freeze or conda list [-n ENVIRONMENT_NAME] to list all the installed libraries.

Some outputs

Show an example of plot pseudo sequence at station S01, with different input resistivity's and different layers names collected on exploration area.
fig3
interpretation

Setup difficulties

Hi Daniel,

I'm trying to install pycsamt with python setup.py build under Python 3.10

errors.log must exist or setup fails:
FileNotFoundError: [Errno 2] No such file or directory: './pyCSAMT/pycsamt/_loggerfiles/errors.log'

Then my GDAL is not detected, despite being present and working well:

Ignore GDAL as it is not working. Will use pyproj
error in pycsamt setup command: 'NoneType' object has no attribute 'group'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.