Skip to main content

Discretization tools for finite volume and inverse problems

Project description

Latest PyPI version MIT license Travis CI build status Coverage status codacy status

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

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)


discretize is on pypi

pip install discretize

To install from source

git clone
python 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.


  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},

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.1.15
Filename, size File type Python version Upload date Hashes
Filename, size discretize-0.1.15-cp36-cp36m-win_amd64.whl (211.1 kB) File type Wheel Python version cp36 Upload date Hashes View hashes
Filename, size discretize-0.1.15.tar.gz (201.2 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page