geo-espresso


Namegeo-espresso JSON
Version 0.3.13 PyPI version JSON
download
home_page
SummaryEarth Science PRoblems for the Evaluation of Strategies, Solvers and Optimizers
upload_time2024-03-19 00:13:43
maintainer
docs_urlNone
authorInLab, Espresso development team
requires_python>=3.8
license
keywords inversion inference python package geoscience geophysics
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Espresso

[![PyPI version](https://img.shields.io/pypi/v/geo-espresso?logo=pypi&style=flat-square&color=bde0fe&labelColor=f8f9fa)](https://pypi.org/project/geo-espresso/)
[![build](https://img.shields.io/github/actions/workflow/status/inlab-geo/espresso/build_wheels.yml?branch=main&logo=githubactions&style=flat-square&color=ccd5ae&labelColor=f8f9fa)](https://github.com/inlab-geo/espresso/actions/workflows/build_wheels.yml)
[![Documentation Status](https://img.shields.io/readthedocs/geo-espresso?logo=readthedocs&style=flat-square&color=fed9b7&labelColor=f8f9fa&logoColor=eaac8b)](https://geo-espresso.readthedocs.io/en/latest/?badge=latest)
[![Slack](https://img.shields.io/badge/Slack-InLab_community-4A154B?logo=slack&style=flat-square&color=cdb4db&labelColor=f8f9fa&logoColor=9c89b8)](https://join.slack.com/t/inlab-community/shared_invite/zt-1ejny069z-v5ZyvP2tDjBR42OAu~TkHg)

> Related repositories by [InLab](https://inlab.edu.au/community/)
> - [CoFI](https://github.com/inlab-geo/cofi)
> - [CoFI Examples](https://github.com/inlab-geo/cofi-examples)

## Introduction

**E**arth **S**cience **PR**oblems for the **E**valuation of **S**trategies, 
**S**olvers and **O**ptimizers (Espresso) is a collection of datasets, and 
associated simulation codes, spanning a wide range of geoscience problems. 
Together they form a suite of real-world test problems that can be used to 
support the development, evaluation and benchmarking of a wide range of tools
and algorithms for inference, inversion and optimisation. All problems are 
designed to share a common interface, so that changing from one test problem
to another requires changing one line of code. 

The Espresso project is a community effort - if you think it sounds useful,
please consider contributing an example or two from your own research. The project
is currently being coordinated by InLab, with support from the CoFI development
team.

For more information, please visit [our
documentation](https://geo-espresso.readthedocs.io).


## Installation

```console
$ pip install geo-espresso
```

Check Espresso documentation - 
[installation page](https://geo-espresso.readthedocs.io/en/latest/user_guide/installation.html) 
for details on dependencies and setting up with virtual environments.

## Basic usage

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

```python
from espresso import <testproblem>
```

Replace ``<testproblem>`` with an actual problem class in Espresso, such as
`SimpleRegression` and `FmmTomography`. See 
[here](https://geo-espresso.readthedocs.io/en/latest/user_guide/contrib/index.html) 
for a full list of problems Espresso currently includes.

Once a problem is imported, its main functions can be called using the same 
structure for each problem. For instance:

```python
from espresso import FmmTomography

problem = FmmTomography(example_number=1)
model = problem.good_model
data = problem.data
pred = problem.forward(model)
fig_model = problem.plot_model(model)
```

You can access related metadata programatically:

```python
print(FmmTomography.metadata["problem_title"])
print(FmmTomography.metadata["problem_short_description"])
print(FmmTomography.metadata["author_names"])
```

Other problem-specific parameters can be accessed through the problem instance. For instance:

```python
print(problem.extent)
print(problem.model_shape)
```

Which additional values are set is highly problem-specific and we suggest to 
consult the 
[Espresso Documentation on the problems](https://geo-espresso.readthedocs.io/en/latest/user_guide/contrib/index.html).


## Contributing

Interested in contributing? Please check out our [contributor's guide](https://geo-espresso.readthedocs.io/en/latest/contributor_guide/index.html).


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

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "geo-espresso",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": "",
    "keywords": "inversion,inference,python package,geoscience,geophysics",
    "author": "InLab, Espresso development team",
    "author_email": "",
    "download_url": "https://files.pythonhosted.org/packages/52/68/f1b3e7d4253ba805315f80794add692741ddd86931c402865367dffbd987/geo-espresso-0.3.13.tar.gz",
    "platform": null,
    "description": "# Espresso\n\n[![PyPI version](https://img.shields.io/pypi/v/geo-espresso?logo=pypi&style=flat-square&color=bde0fe&labelColor=f8f9fa)](https://pypi.org/project/geo-espresso/)\n[![build](https://img.shields.io/github/actions/workflow/status/inlab-geo/espresso/build_wheels.yml?branch=main&logo=githubactions&style=flat-square&color=ccd5ae&labelColor=f8f9fa)](https://github.com/inlab-geo/espresso/actions/workflows/build_wheels.yml)\n[![Documentation Status](https://img.shields.io/readthedocs/geo-espresso?logo=readthedocs&style=flat-square&color=fed9b7&labelColor=f8f9fa&logoColor=eaac8b)](https://geo-espresso.readthedocs.io/en/latest/?badge=latest)\n[![Slack](https://img.shields.io/badge/Slack-InLab_community-4A154B?logo=slack&style=flat-square&color=cdb4db&labelColor=f8f9fa&logoColor=9c89b8)](https://join.slack.com/t/inlab-community/shared_invite/zt-1ejny069z-v5ZyvP2tDjBR42OAu~TkHg)\n\n> Related repositories by [InLab](https://inlab.edu.au/community/)\n> - [CoFI](https://github.com/inlab-geo/cofi)\n> - [CoFI Examples](https://github.com/inlab-geo/cofi-examples)\n\n## Introduction\n\n**E**arth **S**cience **PR**oblems for the **E**valuation of **S**trategies, \n**S**olvers and **O**ptimizers (Espresso) is a collection of datasets, and \nassociated simulation codes, spanning a wide range of geoscience problems. \nTogether they form a suite of real-world test problems that can be used to \nsupport the development, evaluation and benchmarking of a wide range of tools\nand algorithms for inference, inversion and optimisation. All problems are \ndesigned to share a common interface, so that changing from one test problem\nto another requires changing one line of code. \n\nThe Espresso project is a community effort - if you think it sounds useful,\nplease consider contributing an example or two from your own research. The project\nis currently being coordinated by InLab, with support from the CoFI development\nteam.\n\nFor more information, please visit [our\ndocumentation](https://geo-espresso.readthedocs.io).\n\n\n## Installation\n\n```console\n$ pip install geo-espresso\n```\n\nCheck Espresso documentation - \n[installation page](https://geo-espresso.readthedocs.io/en/latest/user_guide/installation.html) \nfor details on dependencies and setting up with virtual environments.\n\n## Basic usage\n\nOnce installed, each test problem can be imported using the following command:\n\n```python\nfrom espresso import <testproblem>\n```\n\nReplace ``<testproblem>`` with an actual problem class in Espresso, such as\n`SimpleRegression` and `FmmTomography`. See \n[here](https://geo-espresso.readthedocs.io/en/latest/user_guide/contrib/index.html) \nfor a full list of problems Espresso currently includes.\n\nOnce a problem is imported, its main functions can be called using the same \nstructure for each problem. For instance:\n\n```python\nfrom espresso import FmmTomography\n\nproblem = FmmTomography(example_number=1)\nmodel = problem.good_model\ndata = problem.data\npred = problem.forward(model)\nfig_model = problem.plot_model(model)\n```\n\nYou can access related metadata programatically:\n\n```python\nprint(FmmTomography.metadata[\"problem_title\"])\nprint(FmmTomography.metadata[\"problem_short_description\"])\nprint(FmmTomography.metadata[\"author_names\"])\n```\n\nOther problem-specific parameters can be accessed through the problem instance. For instance:\n\n```python\nprint(problem.extent)\nprint(problem.model_shape)\n```\n\nWhich additional values are set is highly problem-specific and we suggest to \nconsult the \n[Espresso Documentation on the problems](https://geo-espresso.readthedocs.io/en/latest/user_guide/contrib/index.html).\n\n\n## Contributing\n\nInterested in contributing? Please check out our [contributor's guide](https://geo-espresso.readthedocs.io/en/latest/contributor_guide/index.html).\n\n\n## Licence\n\nEspresso is a community driven project to create a large suite of forward\nsimulations to enable researchers to get example data without the need to \nunderstand each individual problem in detail.\n\nLicensing is done individually by each contributor. If a contributor wants to freely share their code example we recommend the MIT licence or a \n2-clause BSD licence. To determine the licence of an existing Espresso\nproblem, please consult the documentation section of that problem.\n\nAll the other core functions of Espresso written by InLab Espresso developer\nteam are distributed under a 2-clause BSD licence. A copy of this licence is\nprovided with distributions of the software.\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "Earth Science PRoblems for the Evaluation of Strategies, Solvers and Optimizers",
    "version": "0.3.13",
    "project_urls": null,
    "split_keywords": [
        "inversion",
        "inference",
        "python package",
        "geoscience",
        "geophysics"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "9b07ed7d3dfdff4593b6c07e4415498e99a4896f7878b3b365b371132db81f2a",
                "md5": "3dd9c7edeb5b1943b757e8e5eed7dd5e",
                "sha256": "94106698757e2edb7654302bc774b6a9779fcd4e45deffe6110cea20692a13c6"
            },
            "downloads": -1,
            "filename": "geo_espresso-0.3.13-cp310-cp310-macosx_10_9_x86_64.whl",
            "has_sig": false,
            "md5_digest": "3dd9c7edeb5b1943b757e8e5eed7dd5e",
            "packagetype": "bdist_wheel",
            "python_version": "cp310",
            "requires_python": ">=3.8",
            "size": 74153967,
            "upload_time": "2024-03-19T00:12:45",
            "upload_time_iso_8601": "2024-03-19T00:12:45.943863Z",
            "url": "https://files.pythonhosted.org/packages/9b/07/ed7d3dfdff4593b6c07e4415498e99a4896f7878b3b365b371132db81f2a/geo_espresso-0.3.13-cp310-cp310-macosx_10_9_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "dba0a643eddc757b4728854c4c97df0bc14d70f38e37057007caf779cdf435f5",
                "md5": "69c8607438558265e435998d07d13b94",
                "sha256": "09e95f8ab9087d9c5714eb3d5911d4361deea9d93e2a2a28bfa5c0bd5173c8b9"
            },
            "downloads": -1,
            "filename": "geo_espresso-0.3.13-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "has_sig": false,
            "md5_digest": "69c8607438558265e435998d07d13b94",
            "packagetype": "bdist_wheel",
            "python_version": "cp310",
            "requires_python": ">=3.8",
            "size": 75182687,
            "upload_time": "2024-03-19T00:12:53",
            "upload_time_iso_8601": "2024-03-19T00:12:53.220608Z",
            "url": "https://files.pythonhosted.org/packages/db/a0/a643eddc757b4728854c4c97df0bc14d70f38e37057007caf779cdf435f5/geo_espresso-0.3.13-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "5c608290563530b082919dcba381bb907ab581ee3e447c9f34d3983192360295",
                "md5": "1f0e50eb7c84a7844d21564be483a848",
                "sha256": "8d825c88e06a3daa98717b2c2234e8e6f44d90669c22fac8866f7cbb6556431f"
            },
            "downloads": -1,
            "filename": "geo_espresso-0.3.13-cp311-cp311-macosx_10_9_x86_64.whl",
            "has_sig": false,
            "md5_digest": "1f0e50eb7c84a7844d21564be483a848",
            "packagetype": "bdist_wheel",
            "python_version": "cp311",
            "requires_python": ">=3.8",
            "size": 74153545,
            "upload_time": "2024-03-19T00:12:59",
            "upload_time_iso_8601": "2024-03-19T00:12:59.892880Z",
            "url": "https://files.pythonhosted.org/packages/5c/60/8290563530b082919dcba381bb907ab581ee3e447c9f34d3983192360295/geo_espresso-0.3.13-cp311-cp311-macosx_10_9_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c66cc0c1b613230f17596bbd9e0d63c90cbe40aeca7ad27bd775c3e5d9744ef3",
                "md5": "cb62af725a60947165b0e854da627a8c",
                "sha256": "069656c99a8d04f8372f444ea806bd164fed717435a84b496a1b260c1bb61312"
            },
            "downloads": -1,
            "filename": "geo_espresso-0.3.13-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "has_sig": false,
            "md5_digest": "cb62af725a60947165b0e854da627a8c",
            "packagetype": "bdist_wheel",
            "python_version": "cp311",
            "requires_python": ">=3.8",
            "size": 75182603,
            "upload_time": "2024-03-19T00:13:07",
            "upload_time_iso_8601": "2024-03-19T00:13:07.237179Z",
            "url": "https://files.pythonhosted.org/packages/c6/6c/c0c1b613230f17596bbd9e0d63c90cbe40aeca7ad27bd775c3e5d9744ef3/geo_espresso-0.3.13-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b35be17662767a98799617618603deaac3949fe286a797a2963ec7352383c549",
                "md5": "bc5a4378e3c60960079f7b879a0a9cfd",
                "sha256": "c77439db61141413bbccf4e0f34c0ca53b4391800b3f4e4be9648237031a3373"
            },
            "downloads": -1,
            "filename": "geo_espresso-0.3.13-cp38-cp38-macosx_10_9_x86_64.whl",
            "has_sig": false,
            "md5_digest": "bc5a4378e3c60960079f7b879a0a9cfd",
            "packagetype": "bdist_wheel",
            "python_version": "cp38",
            "requires_python": ">=3.8",
            "size": 74154037,
            "upload_time": "2024-03-19T00:13:14",
            "upload_time_iso_8601": "2024-03-19T00:13:14.050356Z",
            "url": "https://files.pythonhosted.org/packages/b3/5b/e17662767a98799617618603deaac3949fe286a797a2963ec7352383c549/geo_espresso-0.3.13-cp38-cp38-macosx_10_9_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "9dcdd9007e6147b541f5eb3c651d833814e551db85b97caf7ed69b508199fdf4",
                "md5": "2c0aba7cc641d36325bab566f7e83d1c",
                "sha256": "edb86db48e1d0a5c348b129ec2299063b0a2a16dfbc41bf8bcab47c78258d36d"
            },
            "downloads": -1,
            "filename": "geo_espresso-0.3.13-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "has_sig": false,
            "md5_digest": "2c0aba7cc641d36325bab566f7e83d1c",
            "packagetype": "bdist_wheel",
            "python_version": "cp38",
            "requires_python": ">=3.8",
            "size": 75183459,
            "upload_time": "2024-03-19T00:13:20",
            "upload_time_iso_8601": "2024-03-19T00:13:20.667794Z",
            "url": "https://files.pythonhosted.org/packages/9d/cd/d9007e6147b541f5eb3c651d833814e551db85b97caf7ed69b508199fdf4/geo_espresso-0.3.13-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "1973308e24296220a63967aad74f65723c92b3da654b64e835b6c65325c11474",
                "md5": "61e79963af86736de0fd0e19be9a443d",
                "sha256": "700ea351c18c89bf4b6f100981a84c6e949a3da7f9dc891492793595f495c744"
            },
            "downloads": -1,
            "filename": "geo_espresso-0.3.13-cp39-cp39-macosx_10_9_x86_64.whl",
            "has_sig": false,
            "md5_digest": "61e79963af86736de0fd0e19be9a443d",
            "packagetype": "bdist_wheel",
            "python_version": "cp39",
            "requires_python": ">=3.8",
            "size": 74154626,
            "upload_time": "2024-03-19T00:13:27",
            "upload_time_iso_8601": "2024-03-19T00:13:27.774377Z",
            "url": "https://files.pythonhosted.org/packages/19/73/308e24296220a63967aad74f65723c92b3da654b64e835b6c65325c11474/geo_espresso-0.3.13-cp39-cp39-macosx_10_9_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ea2293604f5a3a4a8dcfbe2dba7b1410d41f714512b88ad3cb846e0ace7fa455",
                "md5": "f29d492e8934cd9523c5c18db406bc35",
                "sha256": "0783199b9b380c7fb1e145df2c4f92773fd4e0e0eaff9742eee85bfb1a7a6504"
            },
            "downloads": -1,
            "filename": "geo_espresso-0.3.13-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "has_sig": false,
            "md5_digest": "f29d492e8934cd9523c5c18db406bc35",
            "packagetype": "bdist_wheel",
            "python_version": "cp39",
            "requires_python": ">=3.8",
            "size": 75183176,
            "upload_time": "2024-03-19T00:13:35",
            "upload_time_iso_8601": "2024-03-19T00:13:35.308102Z",
            "url": "https://files.pythonhosted.org/packages/ea/22/93604f5a3a4a8dcfbe2dba7b1410d41f714512b88ad3cb846e0ace7fa455/geo_espresso-0.3.13-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "5268f1b3e7d4253ba805315f80794add692741ddd86931c402865367dffbd987",
                "md5": "af5a0a0a4a5f12a9b40525dac0938ff5",
                "sha256": "a2186fda34873d00cba3808809060ce149c47783b55f2fded13ce13013a5d2c7"
            },
            "downloads": -1,
            "filename": "geo-espresso-0.3.13.tar.gz",
            "has_sig": false,
            "md5_digest": "af5a0a0a4a5f12a9b40525dac0938ff5",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 73792368,
            "upload_time": "2024-03-19T00:13:43",
            "upload_time_iso_8601": "2024-03-19T00:13:43.322387Z",
            "url": "https://files.pythonhosted.org/packages/52/68/f1b3e7d4253ba805315f80794add692741ddd86931c402865367dffbd987/geo-espresso-0.3.13.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-03-19 00:13:43",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "geo-espresso"
}
        
Elapsed time: 0.20577s