Earth Science PRoblems for the Evaluation of Strategies, Solvers and Optimizers
Project description
Espresso
Introduction
Earth Science PRoblems for the Evaluation of Strategies, Solvers and Optimizers (Espresso) is a collection of clearly defined forward codes that simulate a wide range of geophysical processes. The goal of Espresso is to bring together people developing physical simulations with those who need them. Espresso's simple and consistent code structure enables users to access 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
$ pip install cofi-espresso
Check Espresso documentation - installation page for details on dependencies and setting up with virtual environments.
Basic usage
Once installed, each test problem can be imported using the following command:
from cofi_espresso import <testproblem>
Replace <testproblem>
with one of the following currently available problems:
GravityDensity
SimpleRegression
XrayTomography
Once a problem is imported, its main functions can be called using the same structure for each problem. For instance:
from cofi_espresso import GravityDensity
problem = GravityDensity(example_number=1)
model = problem.good_model()
data = problem.data()
pred = problem.forward(model)
fig_model = problem.plot_model(model)
fig_data = problem.plot_data(data, pred)
You can access related metadata programatically:
print(GravityDensity.problem_title)
print(GravityDensity.problem_short_description)
print(GravityDensity.author_names)
Other problem-specific parameters can be accessed through the problem instance. For instance:
print(problem.m)
print(problem.rec_coords)
Which additional values are set is highly probl-specific and we suggest to consult the Espresso Documentation on the problems.
Contributing
Interested in contributing? Please check out our contributor's guide.
Licence
Espresso is a community driven project to create a large suite of forward simulations to enable researchers to get example data without the need to understand each individual problem in detail.
Licensing is done individually by each contributor. If a contributor wants to freely share their code example we recommend the MIT licence or a 2-clause BSD licence. To determine the licence of an existing Espresso problem, please consult the documentation section of that problem.
All the other core functions of Espresso written by InLab Espresso developer team are distributed under a 2-clause BSD licence. A copy of this licence is provided with distributions of the software.
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
Built Distributions
File details
Details for the file cofi_espresso-0.0.1.dev9.tar.gz
.
File metadata
- Download URL: cofi_espresso-0.0.1.dev9.tar.gz
- Upload date:
- Size: 1.0 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 95a44166705896306db62dfce93a1f4f9e3d65d9ce74bc57a3ff714ee2ef1a5e |
|
MD5 | 0dc36e1ce1a2823c5d26e731580ee527 |
|
BLAKE2b-256 | 6fd3fbe5291c4fe405a7c77ba528b6e4d9e0f7c2f874c857d8547a6ebe722412 |
File details
Details for the file cofi_espresso-0.0.1.dev9-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: cofi_espresso-0.0.1.dev9-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 1.9 MB
- Tags: CPython 3.10, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d4bcadc5ea2286dfa982b3f529bce67dfa76dbe71c4ae07ad7983eef38f23c24 |
|
MD5 | 0503b89b8e2bbdd087c898e70a1c8238 |
|
BLAKE2b-256 | 7434b005db0c20cde8b2247ac15443cae85060286ff540bcdc39c4453d7a6ea1 |
File details
Details for the file cofi_espresso-0.0.1.dev9-cp310-cp310-macosx_11_0_arm64.whl
.
File metadata
- Download URL: cofi_espresso-0.0.1.dev9-cp310-cp310-macosx_11_0_arm64.whl
- Upload date:
- Size: 903.1 kB
- Tags: CPython 3.10, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 56b0cd4001b65c46e1b1e01bed908195d316f751202244169aba11a5a7f77954 |
|
MD5 | 6a15cba5c57279086091575b65e60dba |
|
BLAKE2b-256 | f411cebcf2c30c7000b41472072f6e1d272cdb74ea41c6e0c63eb9f730d8516f |
File details
Details for the file cofi_espresso-0.0.1.dev9-cp310-cp310-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: cofi_espresso-0.0.1.dev9-cp310-cp310-macosx_10_9_x86_64.whl
- Upload date:
- Size: 903.1 kB
- Tags: CPython 3.10, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ab50d14e824dc3cf464f5d577630bdced299063f81d67738af8f36edd590f03a |
|
MD5 | 5dd7f06f108badc90c62e49c5aa868bd |
|
BLAKE2b-256 | c41bc1dc6e8efc36a7b01841005f667c038ae2bedafbabe73fc4c5f6dd413074 |
File details
Details for the file cofi_espresso-0.0.1.dev9-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: cofi_espresso-0.0.1.dev9-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 1.9 MB
- Tags: CPython 3.9, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1f439dec1005ce8eb4eb9ecc3b0fd48d7b032d26f04b682d9fdf636820148f79 |
|
MD5 | a6f89c99ded421b4419649c0900b98a4 |
|
BLAKE2b-256 | 42e41d2ab534c64870f0c83a5407868dfe205b82f8e83366f9709053ec587e29 |
File details
Details for the file cofi_espresso-0.0.1.dev9-cp39-cp39-macosx_11_0_arm64.whl
.
File metadata
- Download URL: cofi_espresso-0.0.1.dev9-cp39-cp39-macosx_11_0_arm64.whl
- Upload date:
- Size: 903.1 kB
- Tags: CPython 3.9, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 39eabd061ffa27e1c13c241ce306ab1094be1183860a23e7ce89f68500d87fc3 |
|
MD5 | 6c29d69d4866deaab4f437a2b8c600c0 |
|
BLAKE2b-256 | 5d988a2bbcd504f078fa3350d77f2148ae2a95824d9d022b35076f75c85dd167 |
File details
Details for the file cofi_espresso-0.0.1.dev9-cp39-cp39-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: cofi_espresso-0.0.1.dev9-cp39-cp39-macosx_10_9_x86_64.whl
- Upload date:
- Size: 903.1 kB
- Tags: CPython 3.9, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 95b265f780e6d43ebe036136d4b86b8210771058a412174622d8d2bea1d944f4 |
|
MD5 | 7701990595eff4912a35772bee8419d2 |
|
BLAKE2b-256 | 01eae380d86f6ae5b9501123c75a7bad359a581e4e3bc5571c659aa698c69057 |
File details
Details for the file cofi_espresso-0.0.1.dev9-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: cofi_espresso-0.0.1.dev9-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 1.9 MB
- Tags: CPython 3.8, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ba5b345cbfa667cad99b6181d399e38574edddb6f9853db21072c060e1e156c4 |
|
MD5 | 2a9fca5ebe40cba3e9703b2af20a77c0 |
|
BLAKE2b-256 | 63af06ff67eba9c14f6cd9cfe12aff33ddbac90ddb6fafb80b71f722807b9842 |
File details
Details for the file cofi_espresso-0.0.1.dev9-cp38-cp38-macosx_11_0_arm64.whl
.
File metadata
- Download URL: cofi_espresso-0.0.1.dev9-cp38-cp38-macosx_11_0_arm64.whl
- Upload date:
- Size: 903.1 kB
- Tags: CPython 3.8, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 533ffbc25c48173bbaf65141fb4e549b92747765cdf878c366c5c5c58c26e34d |
|
MD5 | 0d02e7c492b54f12e2637c4719a4d49c |
|
BLAKE2b-256 | 564cb043b1872a0ae50c055f5006f9b267d8f7ae4aa34f341e13a5205c46fdbf |
File details
Details for the file cofi_espresso-0.0.1.dev9-cp38-cp38-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: cofi_espresso-0.0.1.dev9-cp38-cp38-macosx_10_9_x86_64.whl
- Upload date:
- Size: 903.1 kB
- Tags: CPython 3.8, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 300224321aa71ce482b0a951cd2300dfc6855b9f00cbb0e00c80d07ff3753900 |
|
MD5 | 4241a565bb2fde2569c15360c7603681 |
|
BLAKE2b-256 | 2bdee130b6b5e5fe1e58c8c7e9c0d9bf36c77698537a9e7ddaa89bc10bc012af |
File details
Details for the file cofi_espresso-0.0.1.dev9-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: cofi_espresso-0.0.1.dev9-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 1.9 MB
- Tags: CPython 3.7m, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | daa7e618b9f9c58046997ca318d99639b3e8e86cda29d392b8dccec15abd634a |
|
MD5 | aa5624b5685dbbc7c61d06bfdfc3ef06 |
|
BLAKE2b-256 | 29d96874df646828d5baabbf9b325c5a2be62abc64f6dc1c5cc04c559c736a46 |
File details
Details for the file cofi_espresso-0.0.1.dev9-cp37-cp37m-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: cofi_espresso-0.0.1.dev9-cp37-cp37m-macosx_10_9_x86_64.whl
- Upload date:
- Size: 903.1 kB
- Tags: CPython 3.7m, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4c9cc20ea68cbf7a80a595664871f0b3e813aeb06a4fa8310dcfd7d074467a57 |
|
MD5 | 99ba097bda42a61c72224631b5a08cf0 |
|
BLAKE2b-256 | 3ff858f38b81799f30e0d0acc67fb25032ebaff61bbdf30d82bd1f9fada28124 |
File details
Details for the file cofi_espresso-0.0.1.dev9-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: cofi_espresso-0.0.1.dev9-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 1.9 MB
- Tags: CPython 3.6m, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d48f6f8555a587241925850a80795246dfa1fa1427e7166d29350fb6b3bc7dd4 |
|
MD5 | 4517043a8f68576cdc7eba061df2e39a |
|
BLAKE2b-256 | 88cbbf6fb5a38a8bd2306991f69634c718caadc428b63c403e46066bbd05c61d |
File details
Details for the file cofi_espresso-0.0.1.dev9-cp36-cp36m-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: cofi_espresso-0.0.1.dev9-cp36-cp36m-macosx_10_9_x86_64.whl
- Upload date:
- Size: 903.1 kB
- Tags: CPython 3.6m, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7b40172c4a442b34f821261d3fc76fc5ed3c639506961bce3a41a73e66a9c930 |
|
MD5 | 00f04300b1069afaf9d62c3a37023dbb |
|
BLAKE2b-256 | 2c368f0c8bc4f3385620eb8058567031574031ac8334666e07a22ae393c7ffae |