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)

  • Triangular (2D) and Tetrahedral (3D) Meshes

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

Uploaded Source

Built Distributions

discretize-0.10.0-cp312-cp312-win_amd64.whl (930.5 kB view details)

Uploaded CPython 3.12 Windows x86-64

discretize-0.10.0-cp312-cp312-musllinux_1_1_x86_64.whl (1.8 MB view details)

Uploaded CPython 3.12 musllinux: musl 1.1+ x86-64

discretize-0.10.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.12 manylinux: glibc 2.17+ x86-64

discretize-0.10.0-cp312-cp312-macosx_11_0_arm64.whl (1.1 MB view details)

Uploaded CPython 3.12 macOS 11.0+ ARM64

discretize-0.10.0-cp312-cp312-macosx_10_9_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.12 macOS 10.9+ x86-64

discretize-0.10.0-cp311-cp311-win_amd64.whl (979.0 kB view details)

Uploaded CPython 3.11 Windows x86-64

discretize-0.10.0-cp311-cp311-musllinux_1_1_x86_64.whl (1.9 MB view details)

Uploaded CPython 3.11 musllinux: musl 1.1+ x86-64

discretize-0.10.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

discretize-0.10.0-cp311-cp311-macosx_11_0_arm64.whl (1.1 MB view details)

Uploaded CPython 3.11 macOS 11.0+ ARM64

discretize-0.10.0-cp311-cp311-macosx_10_9_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.11 macOS 10.9+ x86-64

discretize-0.10.0-cp310-cp310-win_amd64.whl (978.1 kB view details)

Uploaded CPython 3.10 Windows x86-64

discretize-0.10.0-cp310-cp310-musllinux_1_1_x86_64.whl (1.9 MB view details)

Uploaded CPython 3.10 musllinux: musl 1.1+ x86-64

discretize-0.10.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

discretize-0.10.0-cp310-cp310-macosx_11_0_arm64.whl (1.1 MB view details)

Uploaded CPython 3.10 macOS 11.0+ ARM64

discretize-0.10.0-cp310-cp310-macosx_10_9_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.10 macOS 10.9+ x86-64

discretize-0.10.0-cp39-cp39-win_amd64.whl (978.8 kB view details)

Uploaded CPython 3.9 Windows x86-64

discretize-0.10.0-cp39-cp39-musllinux_1_1_x86_64.whl (1.9 MB view details)

Uploaded CPython 3.9 musllinux: musl 1.1+ x86-64

discretize-0.10.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

discretize-0.10.0-cp39-cp39-macosx_11_0_arm64.whl (1.1 MB view details)

Uploaded CPython 3.9 macOS 11.0+ ARM64

discretize-0.10.0-cp39-cp39-macosx_10_9_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.9 macOS 10.9+ x86-64

discretize-0.10.0-cp38-cp38-win_amd64.whl (980.4 kB view details)

Uploaded CPython 3.8 Windows x86-64

discretize-0.10.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

discretize-0.10.0-cp38-cp38-macosx_11_0_arm64.whl (1.1 MB view details)

Uploaded CPython 3.8 macOS 11.0+ ARM64

discretize-0.10.0-cp38-cp38-macosx_10_9_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.8 macOS 10.9+ x86-64

File details

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

File metadata

  • Download URL: discretize-0.10.0.tar.gz
  • Upload date:
  • Size: 247.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.13

File hashes

Hashes for discretize-0.10.0.tar.gz
Algorithm Hash digest
SHA256 00893a29d2a870500967bf99aa3cf31a35d867976c28e983788e4abad19cf608
MD5 506aeb1077fb8c382f42931341e6cf23
BLAKE2b-256 269a066af921369d9a0fe9ffa8dac2d3c0da79bd3e618c33c9495df57789c2af

See more details on using hashes here.

Provenance

File details

Details for the file discretize-0.10.0-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for discretize-0.10.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 9914685ce2b301e9c00227452bf131a40ff934b5ab611baec9d6c47196ac557d
MD5 cc7d1e1b88bc3818012476c937545efd
BLAKE2b-256 d3999ed2919c104ea938027cee08bf37c4777bc1d0ae9ce619fb4b4fd92c97fd

See more details on using hashes here.

Provenance

File details

Details for the file discretize-0.10.0-cp312-cp312-musllinux_1_1_x86_64.whl.

File metadata

File hashes

Hashes for discretize-0.10.0-cp312-cp312-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 9d9bb48d64b9244de749a85f43f4ce7636f3839511b10da20f1f96d14e06ebee
MD5 ab0852a198af407f83717009d5135562
BLAKE2b-256 ff9c75dce0b674b261ac75def9a7afe0efb70a8193d218f9cc51d2d2e8873886

See more details on using hashes here.

Provenance

File details

Details for the file discretize-0.10.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for discretize-0.10.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 1259bd5c77d09530eae320e5ef7d387db739483485fe3134ffdc8b8e5296eac3
MD5 2268952f61959a242d22e43e865b8dfc
BLAKE2b-256 f46daa12699931622624b7b4ba98e93e4652cb8f8ff3cdaae1453c344e082778

See more details on using hashes here.

Provenance

File details

Details for the file discretize-0.10.0-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for discretize-0.10.0-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 19bb5b644f94c4e044ed6a84d7d2f6c08040ca4f13132c952037e95146c0c329
MD5 eb1474645035118a6ec520c2aeabc454
BLAKE2b-256 6eaf589596d0fa25e67b709c8cfa4cb2348c771b63bf795db9eadf127282c24b

See more details on using hashes here.

Provenance

File details

Details for the file discretize-0.10.0-cp312-cp312-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for discretize-0.10.0-cp312-cp312-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 2cdc58d0fbb72e0964d4c1e1e28c3a02159a7e6e954cf7d7cbc8be0d6d2bd703
MD5 805a97919ff2d03797bb21c05f7f41e8
BLAKE2b-256 1ea61517ca113adbbf1347f48a9a0f7a1643867780dd0e546625898691b3f508

See more details on using hashes here.

Provenance

File details

Details for the file discretize-0.10.0-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for discretize-0.10.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 573987d07ca6169ba08c98d75fc71f72be2101d0aea25064ca2ce00ee5b535bc
MD5 63b740f9fd18833573f0d91450f514fd
BLAKE2b-256 46983f14b2512436ae944ba3562bf2aafb62321232d687596ebeef8121bb1ace

See more details on using hashes here.

Provenance

File details

Details for the file discretize-0.10.0-cp311-cp311-musllinux_1_1_x86_64.whl.

File metadata

File hashes

Hashes for discretize-0.10.0-cp311-cp311-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 0fc973a03909d2b965e404aa836eaa8fa7ee17a4908cf289d3149a281162246a
MD5 14b86aa911c538f3a82b6c564f04b6f4
BLAKE2b-256 d87a6cee696c31f7e4d8e7e558aec2bab55e34bf99252c16d7e5a5d38c824125

See more details on using hashes here.

Provenance

File details

Details for the file discretize-0.10.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for discretize-0.10.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 bed45873d41d0eae0f58c595f0155906346b11419ce36ca7b08e1328d752bc32
MD5 9ce8c7dfad9028d277179253afbd5792
BLAKE2b-256 4e38b46d786b1cc49116fb1c0025e653e758795a30dddd7a79f94279a585a681

See more details on using hashes here.

Provenance

File details

Details for the file discretize-0.10.0-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for discretize-0.10.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 408fd1995b4b4b44d15b6cee3a3f4a2d1fb029ec86cafc002025646d4b0adca6
MD5 389cb3b10ed95b6b370dfc7ca2b19fc4
BLAKE2b-256 b541491c142a9c55df1cb0d3eb09cbdf0da6825a97158858044ee1d356674f83

See more details on using hashes here.

Provenance

File details

Details for the file discretize-0.10.0-cp311-cp311-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for discretize-0.10.0-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 d477fd31e8e34df28136dd3d0d57eb886146051853f0775272b59b6a4eddc235
MD5 353b37f0fe058c526eb88437755b2f65
BLAKE2b-256 a9d3f9425aa6d8ebc141895b2586ea870b14f32ffddef8244e777d90c750cb86

See more details on using hashes here.

Provenance

File details

Details for the file discretize-0.10.0-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for discretize-0.10.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 e1c0d772faa3a3eb8e4cb7357764bc503313f2cd19c80e0874847c42ddc1eb9b
MD5 7b430e66ce0ca8e2f22ecbb2cdc8e816
BLAKE2b-256 841bf508c3b66919e2df22de19b60205c8e0bc63d4191f3b5ca13a5877bf3a65

See more details on using hashes here.

Provenance

File details

Details for the file discretize-0.10.0-cp310-cp310-musllinux_1_1_x86_64.whl.

File metadata

File hashes

Hashes for discretize-0.10.0-cp310-cp310-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 7a27ec225d16ea32f902166a74d41a30ae7874a03eef2c60a2041a2327baf204
MD5 861c59e17c2e7c740046a00d337d1bd2
BLAKE2b-256 31010e9e96598483d40855c025c4deabc9c98072ab6e6786df45cfcaee17ee3c

See more details on using hashes here.

Provenance

File details

Details for the file discretize-0.10.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for discretize-0.10.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9e0369dd960e8b999d1859fcd3ad2ab6aa356e9d7cf1daf50f9edd5f29a57077
MD5 58a82714aca60b9caeb0660af3db8878
BLAKE2b-256 ac9a1d6238d1401da42ceff1db5f7d5a4e36e4520832d6a30c1210d68e2dc772

See more details on using hashes here.

Provenance

File details

Details for the file discretize-0.10.0-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for discretize-0.10.0-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 6a7a820a8fb82ae6129c1f85a46b35e64905317f11fdd4840feacfd9b25ff8d1
MD5 db48881ddc0cfbe2c82d80afb573ca38
BLAKE2b-256 a845348c20bea6cadc1ea0f5e53c4ee9d45495e8061f18ca61dcdf888666fcc8

See more details on using hashes here.

Provenance

File details

Details for the file discretize-0.10.0-cp310-cp310-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for discretize-0.10.0-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 a79d99dffb479497dccbd27470fd01c0f108045e8c42dfca6cb7becedfdd66fe
MD5 2eb243486d1e384e9cd40bbc7f0b1f5b
BLAKE2b-256 337a9e02f479a5ad4a957372ef13b44904ab783c69e1a6e6685ed3ba88069fa8

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for discretize-0.10.0-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 d1cd2e0c991571de0cc2b45621fd3ab838e76f26fc6b14388f862d8af14c91b2
MD5 7328864b1d4dcea1c527dd2b2ccd8515
BLAKE2b-256 9d5342307240554ea6cbef7b17447b31b0cd026e0f4af8f9cd03491ee833d605

See more details on using hashes here.

Provenance

File details

Details for the file discretize-0.10.0-cp39-cp39-musllinux_1_1_x86_64.whl.

File metadata

File hashes

Hashes for discretize-0.10.0-cp39-cp39-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 d3b322379806c6f320c21e027fcc3d92a07a69170e8dcce82b7283c4d9292cac
MD5 5c78f5c5d71bbe6cbd67f37249f1b496
BLAKE2b-256 aea49475087910638e7e849bdb13c296309241dcea275a344689f8680229c097

See more details on using hashes here.

Provenance

File details

Details for the file discretize-0.10.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for discretize-0.10.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f2f3f473a989ebe6bfcb2665714c84943f2b3284e8c936dc1763df57b6eda489
MD5 344c5da6e63b7e561976d8e0e213fb4d
BLAKE2b-256 854c47202ef6e4f4857bb4a00e72eb795c76933ef39fddb5c8b93d2e384fe4cf

See more details on using hashes here.

Provenance

File details

Details for the file discretize-0.10.0-cp39-cp39-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for discretize-0.10.0-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 dc73757faae9bb200470c934a982cb1c897137efe46fac97963476d1416ca477
MD5 f2cdae703c556e692c5e817dc24bad85
BLAKE2b-256 d6284d555d29887066610c15b108d548c878eaae99e25687bf0c4f843d8312e7

See more details on using hashes here.

Provenance

File details

Details for the file discretize-0.10.0-cp39-cp39-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for discretize-0.10.0-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 182d38ecd8937c594cf8ca044bcabc68f217e8040cbd746709621de66e8d65fa
MD5 5ffe5034cda5a426d6bfdeb5f5866691
BLAKE2b-256 608be31f1bb03fae2d0dca46a0bceb0fe5422ffd248ac44272e675763cf4d9b2

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for discretize-0.10.0-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 91f361cead80b98e2b0344d3bbe1ad4803efd09e804dcb73e58eaf0adcc5f1d4
MD5 dd97fee21a7ff91d17929b10994e57a0
BLAKE2b-256 ea543be37eb01ceae0d2a2c347540348ddb7d7e95cf6a7cb5f175f51098656ab

See more details on using hashes here.

Provenance

File details

Details for the file discretize-0.10.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for discretize-0.10.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 24deef4dacc99c54947b6bbe6e910ee2eee6a6a493703b5d92474f1ddceaf836
MD5 850ca35b3d6065b23ec0493fc7fe7904
BLAKE2b-256 f5abb5f0f697b36f7417004310eab7ba1aef372ca00023fbf89fc6c6c1112c44

See more details on using hashes here.

Provenance

File details

Details for the file discretize-0.10.0-cp38-cp38-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for discretize-0.10.0-cp38-cp38-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 09c6c954877d79ef7e3f49c84bc36dd509f63ff9dba7ca0c2d457cd60ab6f5e3
MD5 91cd243ff068e124bc1048cf609d1ae1
BLAKE2b-256 17aaf7c338d56cfc47389690ebe4513624b53e81993b6479bd516e43eb91a77e

See more details on using hashes here.

Provenance

File details

Details for the file discretize-0.10.0-cp38-cp38-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for discretize-0.10.0-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 34a27b0c85f752a602e70e2fd2f4d8def2b47a886d166f2783a4f0f66fea8e68
MD5 d75b3ed1a2dc4310f3998d937b6212fa
BLAKE2b-256 f34088fd0b7e93148454f377066d8f35e651df46acb702f43f66cd2414b11dca

See more details on using hashes here.

Provenance

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