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.

Files for airtools, version 1.2.0
Filename, size File type Python version Upload date Hashes
Filename, size airtools-1.2.0.tar.gz (10.4 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page