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.7.4.tar.gz (781.5 kB view details)

Uploaded Source

Built Distributions

discretize-0.7.4-cp39-cp39-win_amd64.whl (658.8 kB view details)

Uploaded CPython 3.9 Windows x86-64

discretize-0.7.4-cp38-cp38-win_amd64.whl (664.4 kB view details)

Uploaded CPython 3.8 Windows x86-64

discretize-0.7.4-cp37-cp37m-win_amd64.whl (637.9 kB view details)

Uploaded CPython 3.7m Windows x86-64

discretize-0.7.4-cp36-cp36m-win_amd64.whl (637.2 kB view details)

Uploaded CPython 3.6m Windows x86-64

File details

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

File metadata

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

File hashes

Hashes for discretize-0.7.4.tar.gz
Algorithm Hash digest
SHA256 52146c50ca4c809037ee64dd5b1193f42bcb349dac345b3fdbecea5f890fbbfc
MD5 466b3480c18df448b8d6b1f8baae5e9f
BLAKE2b-256 0df1190aecfce5c5f5cb3b7b3555000da76267243aee140857e798a7161ad596

See more details on using hashes here.

File details

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

File metadata

  • Download URL: discretize-0.7.4-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 658.8 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.7.4-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 5903b67c881702261a562262d5f9f5b113747887b1b3d95b3b7438a84cdaddee
MD5 73db880f983d5109f42792ce3e915d59
BLAKE2b-256 43c7643a0301a673b4d20dc25e2fb376b0e99f365fae0e59e83edf67d1e7a056

See more details on using hashes here.

File details

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

File metadata

  • Download URL: discretize-0.7.4-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 664.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.7.4-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 e9d1d30eb2d568439458eab8b93fc6f7e3b949fe1c93f022bed1fb0764baf71b
MD5 cf711bf7aa96fdf9b1ce161bc0387b77
BLAKE2b-256 86e415f67c229d7bde92f141c062188702905cee8f022348dcabe717599393dd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for discretize-0.7.4-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 6b7d6fd261100abb1b290e37fc16b90d85ae8fe59431953549bdfc30650f6276
MD5 4ec8ef391ecfb143d3786da9e83ec3ad
BLAKE2b-256 55cb8aaac341b54d56b2c3cc859e234fd241365c3a5a688220d8c8f54a439568

See more details on using hashes here.

File details

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

File metadata

  • Download URL: discretize-0.7.4-cp36-cp36m-win_amd64.whl
  • Upload date:
  • Size: 637.2 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.7.4-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 eb09cb45be79f365e98250c2df78bb791acdfb949b0b4f1b061e56aab069b64f
MD5 02275888ade8909ee1a4d9d661eea509
BLAKE2b-256 ad67b542c42f4c15a9d63a9499b9e3e74ea95e9d3f7f9538554f073eee0074b9

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