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 details)

Uploaded Source

File details

Details for the file airtools-1.2.0.tar.gz.

File metadata

  • Download URL: airtools-1.2.0.tar.gz
  • Upload date:
  • Size: 10.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for airtools-1.2.0.tar.gz
Algorithm Hash digest
SHA256 39b4a66e4901ded589754efc213d83bf4debc7c5bb623062f38dabcee38ce789
MD5 54b7bacb196a6f7a6229afb462feb9ef
BLAKE2b-256 7fd3c34a8b1ce4361efcaa018b3995c4dfa1599f2c781db37b3a999199a705e6

See more details on using hashes here.

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