TRIPS-py is a python package that is dedicated to serve research and didactical purposes. The package aims
- to provide tools for solving small and large scale inverse problems, and
- to introduce test problems arising from a wide range of applications such as deblurring, X-ray computerized tomography, and dynamic X-ray computerized tomography.
TRIPs-Py includes a wide range of regularization methods for solving linear discrete inverse problems. Each method incorporates options to determine the regularization parameter automatically through the discrepancy principle (if the noise level is known) or through generalized cross validation. A regularization parameter can be inputed from the user too.
git clone https://github.com/trips-py/trips-pypip install .with open('README.md', 'r', encoding="utf-8") as fh:
LONG_DESCRIPTION = fh.read()
setuptools.setup(...)For a smooth usage of the package, we recommend the users to first download the data needed for test problems from the google drive and place the folder data inside the folder demos. https://drive.google.com/drive/folders/1VB8LaFewgwNKXq7QSVns4D6Rod8W8Pa1?usp=sharing
Most of the files available in the `Utilities' directory are auxiliary functions that can be used by the TRIPs-Py solvers, such as functions to set the regularization operators, or to display data and reconstructions.
Mirjeta Pasha, Silvia Gazzola, Connor Sanderford, Ugochukwu O. Ugwu TRIPs-Py: Techniques for Regularization of Inverse Problems in Python
https://link.springer.com/article/10.1007/s11075-024-01878-w
Packages required that are installed automatically with TRIPs-Py are 'numpy', 'scipy', 'pylops', 'requests', 'h5py', 'tqdm', 'python-resize-image', 'astra-toolbox'.
TRIPs-Py package is made available and contributed to under the Apache-2.0 license. The project is offered “as-is” without warranty, and disclaiming liability for damages resulting from using the software. This is a first version of TRIPs-Py and it is by no means perfect. We welcome comments and suggestions from the users to improve the software. Interested users are welcome to contribute to the package. For assistance or questions regarding the package, please send an email to [email protected].
email: [email protected] website: https://sites.google.com/view/mirjeta-pasha/home?authuser=1
- Mirjeta Pasha @mpasha3
- Silvia Gazzola [@silviagazzola] (https://github.com/silviagazzola)
- Connor Sanderford [@crsanderford] (https://github.com/crsanderford)
- Jonathan Lindbloom @jlindbloom (https://github.com/jlindbloom)
- Toluwani Okunola @Toluwa-okunola (https://github.com/Toluwa-okunola)
- Ugochukwu O. Ugwu uougwu @uougw (https://github.com/uougwu)
The work of Mirjeta Pasha is fully supported by the NSF award DMS 2202846. Mirjeta Pasha and Silvia Gazzola acknowledge the Isaac Newton Institute for Mathematical Sciences, Cambridge, for the support and hospitality during the programme Rich and Nonlinear Tomography - a multidisciplinary approach" (supported by EPSRC grant no EP/R014604/) where partial work on this package was undertaken. SG would like to thank Ludovico Carozza for his advice on many Python functionalities. We would like to thank Tatiana Bubba for discussions about avoiding inverse crimes in `inverse problems'.

