Limited subset of P.C. Hansen and J. S. Jørgensen AIRtools 1.0 Matlab suite of inversion / regularization tools, along with some ReguTools functions. Also includes linear constrained least squares solver using cvxopt in lsqlin.py
We only converted the functions we needed, many more are available in Matlab from AIRtools 2.
python -m pip install -e .
Just paste the code from each test into your console for the function you're interested in. Would you like to submit a pull request for an inversion example making a cool plot?
Function | Description |
---|---|
picard.py |
Picard Plot |
kaczmarz.py |
Kaczmarz ART |
maxent.py |
Maximum Entropy Regularization (from ReguTools) |
rzr.py |
remove unused or little used rows from tomographic projection matrix. |
lsqlin.py |
linear constrained least squares solver |
matlab/logmart.m |
Implementation of log-MART used by Joshua Semeter in several publications |
fortran/logmart.f90 |
|
See tests/test.py
.
You can run a comparison of the Python code with the Matlab code in the matlab/
directory by:
./tests/test_octave.py
which runs the Matlab version via Oct2Py.