# regpy: Python tools for regularization methods
[](https://github.com/regpy/regpy)
[](https://pypi.org/project/xfem/)
[](https://pypi.org/project/xfem/)
[](https://pypi.org/project/xfem/)
[](https://hub.docker.com/repository/docker/regpy/regpy)
`RegPy` is a python library for implementing and solving ill-posed inverse problems developed at the [Institute for Numerical and Applied Mathematics Goettingen](https://num.math.uni-goettingen.de). It provides tolls to implement your own forward model both linear and non-linear and a variety of regularization methods that can be stopped using common stopping rules.
This project is currently in an almost beta quality state. However, the project is still under intensive development. Therefore, expect bugs and partially undocumented tools. If you encounter any issues we welcome any information on our [github issue tracker](https://github.com/regpy/regpy/issues).
For the current version we provide information and a detailed documentation under <https://num.math.uni-goettingen.de/regpy/>.
## Usage examples
We provide a explanation on how to use `RegPy` [here](./USAGE.md). On our website we provide some [usage examples](https://num.math.uni-goettingen.de/regpy/examples). These examples are jupyter notebooks that should provide a tutorial kind of introduction to the usage of `RegPy`.
To get an full impression of the usage of `RegPy`, we provide many examples in the [`examples`
folder on GitHub](https://github.com/regpy/regpy/tree/release/examples), as well as inside the release tarballs (see below). Most of the examples supply both a commented python script and a python notebook with more detailed explanation.
## Installation
We provide different installation methods, such installation using `pip`, listed and explained in [INSTALLATION.md](./INSTALLATION.md).
### Dependencies
- `numpy >= 1.14`
- `scipy >= 1.1`
#### Optional dependencies
- [`ngsolve`](https://ngsolve.org/), for some forward operators that require solving PDEs. We provide an optional installation tag `ngsolve` when installing with `pip`.
- [`bart`](https://mrirecon.github.io/bart/) (for the MRI operator)
- `matplotlib` (for some of the examples)
- [`pdoc3`](https://pdoc3.github.io/pdoc) (for generating the documentation)
Raw data
{
"_id": null,
"home_page": null,
"name": "regpy",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": null,
"keywords": "inverse problems, ill-posed problems, regularization, numerical optimization, numerical analysis",
"author": null,
"author_email": "Thorsten Hohage <hohage@math.uni-goettingen.de>",
"download_url": "https://files.pythonhosted.org/packages/32/76/6e864e561caef6a70415512214a8bc6d0123f913a226132149701efc4840/regpy-0.4.1.tar.gz",
"platform": null,
"description": "# regpy: Python tools for regularization methods\n\n[](https://github.com/regpy/regpy)\n\n[](https://pypi.org/project/xfem/)\n[](https://pypi.org/project/xfem/)\n[](https://pypi.org/project/xfem/)\n\n[](https://hub.docker.com/repository/docker/regpy/regpy)\n\n`RegPy` is a python library for implementing and solving ill-posed inverse problems developed at the [Institute for Numerical and Applied Mathematics Goettingen](https://num.math.uni-goettingen.de). It provides tolls to implement your own forward model both linear and non-linear and a variety of regularization methods that can be stopped using common stopping rules.\n\nThis project is currently in an almost beta quality state. However, the project is still under intensive development. Therefore, expect bugs and partially undocumented tools. If you encounter any issues we welcome any information on our [github issue tracker](https://github.com/regpy/regpy/issues).\n\nFor the current version we provide information and a detailed documentation under <https://num.math.uni-goettingen.de/regpy/>.\n\n## Usage examples\n\nWe provide a explanation on how to use `RegPy` [here](./USAGE.md). On our website we provide some [usage examples](https://num.math.uni-goettingen.de/regpy/examples). These examples are jupyter notebooks that should provide a tutorial kind of introduction to the usage of `RegPy`.\n\nTo get an full impression of the usage of `RegPy`, we provide many examples in the [`examples`\nfolder on GitHub](https://github.com/regpy/regpy/tree/release/examples), as well as inside the release tarballs (see below). Most of the examples supply both a commented python script and a python notebook with more detailed explanation.\n\n## Installation\n\nWe provide different installation methods, such installation using `pip`, listed and explained in [INSTALLATION.md](./INSTALLATION.md).\n\n### Dependencies\n\n- `numpy >= 1.14`\n- `scipy >= 1.1`\n\n#### Optional dependencies\n\n- [`ngsolve`](https://ngsolve.org/), for some forward operators that require solving PDEs. We provide an optional installation tag `ngsolve` when installing with `pip`.\n- [`bart`](https://mrirecon.github.io/bart/) (for the MRI operator)\n- `matplotlib` (for some of the examples)\n- [`pdoc3`](https://pdoc3.github.io/pdoc) (for generating the documentation)\n",
"bugtrack_url": null,
"license": null,
"summary": "A python library to solve Inverse and Ill-Posed problems by regularization",
"version": "0.4.1",
"project_urls": {
"Homepage": "https://num.math.uni-goettingen.de/regpy/",
"github": "https://github.com/regpy/regpy"
},
"split_keywords": [
"inverse problems",
" ill-posed problems",
" regularization",
" numerical optimization",
" numerical analysis"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "e73511e6bf1806f370ae3dbaa92e48d09e117f12e7ad2d21042e7ba7adb45afb",
"md5": "e2e1e2e6995058157b931c27cd7a5abb",
"sha256": "f7a8560492bb583256a1db501c7649adcfa3d1c4f9c04e4ca2d89d6d7600664a"
},
"downloads": -1,
"filename": "regpy-0.4.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "e2e1e2e6995058157b931c27cd7a5abb",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 125633,
"upload_time": "2025-07-22T09:22:40",
"upload_time_iso_8601": "2025-07-22T09:22:40.049562Z",
"url": "https://files.pythonhosted.org/packages/e7/35/11e6bf1806f370ae3dbaa92e48d09e117f12e7ad2d21042e7ba7adb45afb/regpy-0.4.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "32766e864e561caef6a70415512214a8bc6d0123f913a226132149701efc4840",
"md5": "1fb596e925d8e4be88cf174d83371b91",
"sha256": "76daf0b667fbf1bfe7f15da5a0d21b131ceec8b4c6ef2c9d810e3adbf8438993"
},
"downloads": -1,
"filename": "regpy-0.4.1.tar.gz",
"has_sig": false,
"md5_digest": "1fb596e925d8e4be88cf174d83371b91",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 40095881,
"upload_time": "2025-07-22T09:22:42",
"upload_time_iso_8601": "2025-07-22T09:22:42.677129Z",
"url": "https://files.pythonhosted.org/packages/32/76/6e864e561caef6a70415512214a8bc6d0123f913a226132149701efc4840/regpy-0.4.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-07-22 09:22:42",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "regpy",
"github_project": "regpy",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [
{
"name": "numpy",
"specs": [
[
"<",
"3.0"
],
[
">=",
"1.14"
]
]
},
{
"name": "scipy",
"specs": [
[
">=",
"1.12"
],
[
"<",
"2.0"
]
]
},
{
"name": "pooch",
"specs": [
[
"<",
"2.0"
],
[
">=",
"1.8"
]
]
},
{
"name": "pytest",
"specs": [
[
"<",
"9.0"
],
[
">=",
"8.0"
]
]
}
],
"lcname": "regpy"
}