ccd-tools

Time-lapse Cole-Cole decomposition routines

https://github.com/m-weigand/ccd_tools

Science Score: 38.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
    Links to: sciencedirect.com, zenodo.org
  • Committers with academic emails
    2 of 3 committers (66.7%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (15.9%) to scientific vocabulary

Keywords

debyedecomposition geophysics sip spectralinducedpolarization
Last synced: 10 months ago · JSON representation ·

Repository

Time-lapse Cole-Cole decomposition routines

Basic Info
  • Host: GitHub
  • Owner: m-weigand
  • License: gpl-3.0
  • Language: Python
  • Default Branch: master
  • Size: 49.4 MB
Statistics
  • Stars: 12
  • Watchers: 2
  • Forks: 4
  • Open Issues: 8
  • Releases: 0
Topics
debyedecomposition geophysics sip spectralinducedpolarization
Created over 9 years ago · Last pushed about 2 years ago
Metadata Files
Readme Changelog Citation

Readme.md

Status

Join the chat at https://gitter.im/ccd_tools/Lobby Build Status DOI Try ccd_tools on binder

Cole-Cole decomposition routines

Introduction

This package contains an implementation of the Cole-Cole decomposition (CCD) scheme, which is used in near-surface geophysical applications to describe electrical polarization signatures measured for frequencies in the mHz range up to multiple kHz.

In the CCD, spectral induced polarization (SIP) signatures are described by a superposition of elementary polarization terms, which are suitably distributed to cover at least the frequency range spanned by the measurement data.

For more information, please refer to the homepage of the project: https://m-weigand.github.io/ccd_tools

example output

Parts of this code were described in two open-access publications:

1. Weigand and Kemna, 2016, Computers and Geosciences

2. Weigand and Kemna, 2016, Geophysical Journal International

Versions

Please refer to the Changelog.md

Documentation

Roadmap

The following functionality is planned to be implemented in the near future (2020+). After that, new feature will probably only be implemented when required. For additional todo-items, please refer to the issues of this project and to the file TODO.

0.9

  • improve testing framework for ccd_time
  • implement Cole-Cole decomposition (c less than 1) also for conductivity formulation
  • improve Jupyter integration and provide examples

1.0

  • proof-of-concept web interface
  • implement the addition of a high-frequency EM-Cole-Cole term, decoupled from the other polarization terms

Installation

Detailed installation guide for Windows and Linux.

Stable versions are released to pipy and can be installed using:

pip install ccd_tools

Install the source package using setuptools:

python setup.py build
python setup.py install

The package can also be installed to a user-defined directory:

export PYTHONUSERBASE=$HOME/inst/pip_installs
export PYTHONPATH=$HOME/inst/pip_installs/lib/python3.4/\
    site-packages/:$PYTHONPATH
python setup.py install --user
export PATH=$HOME/inst/pip_installs/bin:$PATH

For developers:

python seutp.py develop --user

To build the documentation:

cd docs/doc
make html

setuptools developer guide:

https://pythonhosted.org/setuptools/setuptools.html

Using Jupyter Notebooks

We recommend installing and using Anaconda. Anaconda conveniently installs Python, the Jupyter Notebook, and all needed packages for ccd-tools.

Use the following installation steps:

  • Download Anaconda with Python 3 version (currently Python 3.6).

  • Install the version of Anaconda which you downloaded, following the instr uctions on the download page.

  • To install ccd-tools, open the Anaconda prompt and use the following command:

    pip install ccd_tools

  • To run the Notebook within the Anaconda prompt, navigate to the notebook directory and use:

    jupyter notebook

This will print some information about the notebook server in your terminal, including the URL of the web application (by default, http://localhost:8888). It will then open your default web browser to this URL. When the notebook opens in your browser, you will see the Notebook Dashboard, including a list of the notebooks, files, and subdirectories of the directory where the notebook server was started.

If Jupyter Notebooks are used with Virtualenvm, the Jupyter Widget JavaScript library needs to be installed and enabled, using the following commands:

pip install ipywidgets
jupyter nbextension enable --py widgetsnbextension --sys-prefix

Dependencies

Dependencies for the ccd tools are listed in the file requirements.txt. When pip is used, all requirements can be installed using:

pip install -r requirements.txt

Additional requirements to build the documentation can be found in the file requirements_doc.txt, and can be installed using:

pip install -r requirements_doc.txt

On Debian Linux systems, the following Python packages are required to run the Cole-Cole decomposition routines:

numpy
scipy
matplotlib
geccoinv
sip_models

In order to build the documentation, the additional packages are required: ::

sphinx

Under Debian-related Linux systems, these packages can be installed using the commands:

sudo apt-get install texlive-latex-base texlive-latex-extra\
    texlive-fonts-recommended texlive-fonts-extra dvipng
sudo apt-get install python2.7-numpy python-matplotlib python2.7-scipy\
    python-setuptools python-nose python-tornado

In order to build the documentation, the following sphinx-related packages must be installed:

sudo apt-get install python-sphinx
sudo apt-get install python-sphinx python-sphinxcontrib.blockdiag
pip install sphinxcontrib-programoutput

geccoinv and sip_models have to be installed according to their own documentation.

Under Windows, the program was tested using the 'pythonxy' distribution (https://code.google.com/p/pythonxy/).

Licence

This program is licenced under the GPL3 or later licence. See LICENCE.txt and headers of individual files for more information.

Some third-party packages used for the homepage (gh-pages branch) have individual licences.

Owner

  • Name: Maximilian Weigand
  • Login: m-weigand
  • Kind: user
  • Location: Bonn, Germany

Citation (CITATION.rst)

Citing the CCD-Tools
====================

If you use the CCD-Tools for work, please cite as:

Weigand, M. & Kemna, A., 2016. Debye decomposition of time-lapse spectral
induced polarisation data, Comput. Geosci., 86, 34–45,
doi:10.1016/j.cageo.2015.09.021, (`Download PDF at`
<https://doi.org/10.1016/j.cageo.2015.09.021>).

BibTex code:

.. code-block:: bibtex

    @Article{     Weigand.ea.2016.CaG,
      title     = {Debye decomposition of time-lapse spectral induced
      polarisation data},
      author    = {Weigand, M. and Kemna, A.},
      journal   = {Computers and Geosciences},
      pages     = {34--45},
      volume    = {86},
      year      = {2016},
      doi       = {10.1016/j.cageo.2015.09.021}
    }

GitHub Events

Total
Last Year

Committers

Last synced: over 2 years ago

All Time
  • Total Commits: 558
  • Total Committers: 3
  • Avg Commits per committer: 186.0
  • Development Distribution Score (DDS): 0.048
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Maximilian Weigand m****d@g****e 531
Jonas Limbrock l****k@g****e 26
The Gitter Badger b****r@g****m 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 12 months ago

All Time
  • Total issues: 10
  • Total pull requests: 1
  • Average time to close issues: about 2 hours
  • Average time to close pull requests: 6 minutes
  • Total issue authors: 2
  • Total pull request authors: 1
  • Average comments per issue: 0.9
  • Average comments per pull request: 0.0
  • Merged pull requests: 1
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • m-weigand (8)
  • MatevzKu (2)
Pull Request Authors
  • gitter-badger (1)
Top Labels
Issue Labels
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 58 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 1
  • Total versions: 17
  • Total maintainers: 1
pypi.org: ccd-tools

Time-lapse Cole-Cole decomposition routines

  • Versions: 17
  • Dependent Packages: 0
  • Dependent Repositories: 1
  • Downloads: 58 Last month
Rankings
Dependent packages count: 7.3%
Forks count: 15.4%
Stargazers count: 16.6%
Average: 17.5%
Dependent repos count: 22.1%
Downloads: 26.1%
Maintainers (1)
Last synced: 11 months ago

Dependencies

requirements.txt pypi
  • matplotlib >=2
  • numpy >=1.11.1
  • scipy >=0.18.1
requirements_doc.txt pypi
  • alabaster >=0.7.9
  • ipywidgets *
  • nose *
  • numpydoc *
  • sphinx >=1.4.3
  • sphinxcontrib-blockdiag *
  • sphinxcontrib-programoutput *
  • sphinxcontrib.napoleon *
requirements_testing.txt pypi
  • numdifftools * test
setup.py pypi
  • geccoinv *
  • matplotlib *
  • numpy *
  • scipy *
  • sip_models *