Skip to main content

Python port of Matlab AIRtools and ReguTools regularization toolbox

Project description

Actions Status

PyPi versions PyPi Download stats

AIRtools

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

More function are available in Matlab from AIRtools 2.

Install

python -m pip install -e .

Usage

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?

  • 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
  • fortran/logmart.f90: log-MART in Fortran

Examples

tests/test_all.py

Tests

Run a comparison of the Python code with the Matlab code in the matlab directory by:

python airtools/tests/test_octave.py

which runs the Matlab version via Oct2Py.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

airtools-1.2.0.tar.gz (10.4 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page