Giter Site home page Giter Site logo

hotfaildevil / airtools Goto Github PK

View Code? Open in Web Editor NEW

This project forked from navytensor/airtools

0.0 1.0 0.0 80 KB

Port of P.C. Hansen's notable AIRtools Matlab suite of inversion / regularization tools

License: BSD 3-Clause "New" or "Revised" License

Python 53.00% Fortran 7.08% MATLAB 39.92%

airtools's Introduction

image

image

Maintainability

python-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

We only converted the functions we needed, many more 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?

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

log-MART in Fortran

Examples

See tests/test.py.

Tests

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.

airtools's People

Contributors

scivision avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.