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


Release history Release notifications | RSS feed

Download files

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

Source Distribution

discretize-0.8.0.tar.gz (1.1 MB view details)

Uploaded Source

Built Distributions

discretize-0.8.0-cp39-cp39-win_amd64.whl (846.4 kB view details)

Uploaded CPython 3.9 Windows x86-64

discretize-0.8.0-cp38-cp38-win_amd64.whl (852.4 kB view details)

Uploaded CPython 3.8 Windows x86-64

discretize-0.8.0-cp37-cp37m-win_amd64.whl (819.8 kB view details)

Uploaded CPython 3.7m Windows x86-64

discretize-0.8.0-cp36-cp36m-win_amd64.whl (818.8 kB view details)

Uploaded CPython 3.6m Windows x86-64

File details

Details for the file discretize-0.8.0.tar.gz.

File metadata

  • Download URL: discretize-0.8.0.tar.gz
  • Upload date:
  • Size: 1.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.8.12

File hashes

Hashes for discretize-0.8.0.tar.gz
Algorithm Hash digest
SHA256 bfa1a743de8e95b1a2f1e5684b48d8caba7e3988cc726c17267a0096f758787b
MD5 b9741aefc33953d711c22bb35b1517c3
BLAKE2b-256 81c5bd30142aee0e1ad3c8aae3f2da3a5f7bfaa733bc8a8cbb142a5905aa3fd4

See more details on using hashes here.

File details

Details for the file discretize-0.8.0-cp39-cp39-win_amd64.whl.

File metadata

  • Download URL: discretize-0.8.0-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 846.4 kB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.10

File hashes

Hashes for discretize-0.8.0-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 6231e39df05683985adfb79c90e379068c665a7e1e8bd82ee51af4222c77771e
MD5 6fe917938e611ae3d4f0084e896ed40a
BLAKE2b-256 6a34e0541a4a82caead57574897b0ca09520203009a8150ca3192f45f639c086

See more details on using hashes here.

File details

Details for the file discretize-0.8.0-cp38-cp38-win_amd64.whl.

File metadata

  • Download URL: discretize-0.8.0-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 852.4 kB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.8.10

File hashes

Hashes for discretize-0.8.0-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 d1f93263d23bc1086c86002c348afe161a19e962fd6cfdd312d767673799aac3
MD5 c633e8fd39d1442d735e31c2bd45800c
BLAKE2b-256 95743b27b114ec527f0c4c2599cf83041a8bb1482ff34c1ea481dae9b5582e45

See more details on using hashes here.

File details

Details for the file discretize-0.8.0-cp37-cp37m-win_amd64.whl.

File metadata

File hashes

Hashes for discretize-0.8.0-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 aae6b0abf681d874007c516c109f7557dbb0bc69a7711d09609dec90085b3796
MD5 4d6c1f288b2951f4ba42ead1a3ce1762
BLAKE2b-256 594aee07e1a47938c8928cd0d7c34f33d2e68097e1844b07ffb4b807bf9895d7

See more details on using hashes here.

File details

Details for the file discretize-0.8.0-cp36-cp36m-win_amd64.whl.

File metadata

  • Download URL: discretize-0.8.0-cp36-cp36m-win_amd64.whl
  • Upload date:
  • Size: 818.8 kB
  • Tags: CPython 3.6m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.64.0 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.4 CPython/3.6.8

File hashes

Hashes for discretize-0.8.0-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 7729d17053231ca318d4b4d8b067bb9a46c3d00f402a457ce6c1f4abb5b9f3cd
MD5 42fe6d270179023f1b1db7bf60fb5ecd
BLAKE2b-256 1c645f2852ffc8616a5e2621021fdb9fbb8c224af010ffe140da4a014f07cd9c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page