Skip to main content

Inversion Test Problems

Inversion Test Problems (ITP) is a collection of clearly defined forward codes that simulate a wide range of geophysical processes. The goal of ITP is to bring together people developing physical simulations with those who need them. ITP's simple and consistent code structure enables users to acces a wide range of different forward code and contributers to share their solutions with a wider audience. For more information, please visit our documentation (coming soon).

Installation

It is recommended to use a clean virtual environment for the install:

conda create -n ITP_env scipy jupyterlab numpy matplotlib
conda activate ITP_env

Inversion Test Problems is available on PyIP and can be installed using this command:

Linux/MacOS

python3 -m pip install --index-url https://test.pypi.org/simple/ inversiontestproblems-h-hollmann

Windows:

py -m pip install --index-url https://test.pypi.org/simple/ inversiontestproblems-h-hollmann

Basic usage

Once installed, each test problem can be imported using the following command:

from inversiontestproblems import testproblem

Replace testproblem with one of the following currently available problems:

  • gravityforward:

Once a problem is imported, it's main functions can be called using the same structure for each problem. For more information for each function please use help():

from inversiontestproblems import testproblem

tp = testproblem()

model=tp.get_model()

data=tp.get_data()

synthetic_data = tp.forward(model)

jacobian=tp.gradient(model)

tp.plot_model()

Other problem-specific values can be accessed through the 'testproblem' object, such as:

tp.rec_coords # coordinates of recording locations

tp.x_nodes # x-coordinates of all nodes of the model

Which additional values are set is highly example-specific and we suggest to use 'help(tp)' or 'dir(tp)' to quickly see what is available, or consult the Inversion Test Suite Documentation (coming soon).

Metadata

Release files for inversion-test-problems 0.0.33

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for inversion-test-problems 0.0.33
File Size Uploaded Provenance
inversion-test-problems-0.0.33.tar.gz 42.7 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for inversion-test-problems 0.0.33
File Interpreter ABI Platform
inversion_test_problems-0.0.33-py3-none-any.whl Python 3 none any Details

Total release size: 77.9 kB

Release files / inversion-test-problems-0.0.33.tar.gz

Download URL inversion-test-problems-0.0.33.tar.gz
Size 42.7 kB
Tags Source
SHA-256 checksum
How to use checksums
6d81b4ebc2ef49fb381d8ec349b2bd195a256f487e89701e8faf683a3fa188c5
BLAKE2b-256 checksum
How to use checksums
84ebec5ae4f0701bed823368e57231fe527f68baef92668cf13c81f0d2749690
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.10.4

Release files / inversion_test_problems-0.0.33-py3-none-any.whl

Download URL inversion_test_problems-0.0.33-py3-none-any.whl
Size 35.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e1589be591366f6a646b670061b83501baffad106315abafc29c2b44d69620c9
BLAKE2b-256 checksum
How to use checksums
cab7686bf01594f50a291f9433f98a26274dadfb1386fde1e6a121d9881ded95
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.10.4

Security for inversion-test-problems 0.0.33

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.33 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page