Skip to main content

Discretization tools for finite volume and inverse problems

Project description

Discretize Logo

discretize

Latest PyPI version Latest conda-forge version MIT license Azure pipelines build status Coverage status codacy status https://zenodo.org/badge/DOI/10.5281/zenodo.596411.svg https://img.shields.io/discourse/users?server=http%3A%2F%2Fsimpeg.discourse.group%2F https://img.shields.io/badge/Slack-simpeg-4B0082.svg?logo=slack https://img.shields.io/badge/Youtube%20channel-GeoSci.xyz-FF0000.svg?logo=youtube

discretize - A python package for finite volume discretization.

The vision is to create a package for finite volume simulation with a focus on large scale inverse problems. This package has the following features:

  • modular with respect to the spacial discretization
  • built with the inverse problem in mind
  • supports 1D, 2D and 3D problems
  • access to sparse matrix operators
  • access to derivatives to mesh variables
https://raw.githubusercontent.com/simpeg/figures/master/finitevolume/cell-anatomy-tensor.png

Currently, discretize supports:

  • Tensor Meshes (1D, 2D and 3D)
  • Cylindrically Symmetric Meshes
  • QuadTree and OcTree Meshes (2D and 3D)
  • Logically Rectangular Meshes (2D and 3D)

Installing

discretize is on conda-forge

conda install -c conda-forge discretize

discretize is on pypi

pip install discretize

To install from source

git clone https://github.com/simpeg/discretize.git
python setup.py install

Citing discretize

Please cite the SimPEG paper when using discretize in your work:

Cockett, R., Kang, S., Heagy, L. J., Pidlisecky, A., & Oldenburg, D. W. (2015). SimPEG: An open source framework for simulation and gradient based parameter estimation in geophysical applications. Computers & Geosciences.

BibTex:

@article{cockett2015simpeg,
  title={SimPEG: An open source framework for simulation and gradient based parameter estimation in geophysical applications},
  author={Cockett, Rowan and Kang, Seogi and Heagy, Lindsey J and Pidlisecky, Adam and Oldenburg, Douglas W},
  journal={Computers \& Geosciences},
  year={2015},
  publisher={Elsevier}
}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for discretize, version 0.7.1
Filename, size File type Python version Upload date Hashes
Filename, size discretize-0.7.1-cp36-cp36m-win_amd64.whl (636.0 kB) File type Wheel Python version cp36 Upload date Hashes View
Filename, size discretize-0.7.1-cp37-cp37m-win_amd64.whl (636.8 kB) File type Wheel Python version cp37 Upload date Hashes View
Filename, size discretize-0.7.1-cp38-cp38-win_amd64.whl (663.2 kB) File type Wheel Python version cp38 Upload date Hashes View
Filename, size discretize-0.7.1-cp39-cp39-win_amd64.whl (657.2 kB) File type Wheel Python version cp39 Upload date Hashes View
Filename, size discretize-0.7.1.tar.gz (775.7 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page