This contains the code for the paper "CUQIpy -- Part I: computational UQ for inverse problems in Python".
Install the package using pip (assuming python is installed):
pip install cuqipy
Some examples require additional packages like the plugins for CIL and PyTorch. These can be installed following the instructions on:
The examples are located folders for each case study. The examples are written in Jupyter notebooks. To run the examples, you need to install Jupyter.
One can also simply view the notebooks on GitHub by clicking on the notebook files in the folders (links below).
The following case studies are included in this repository:
- Section 1: Introductory motivating example (2D deconvolution) in the folder
intro
- Section 3: Software overview (1D deconvolution sinc phantom) in the folder
deconvolution1D
- Section 3: Software overview (1D deconvolution square phantom) in the folder
deconvolution1D
- Section 4: Gravity anomaly inversion in the folder
gravity
- Section 5: CT using CUQIpy-CIL in the folder
CT
- Section 6: Eight Schools using CUQIpy-PyTorch in the folder
eight_schools