Skip to main content

Python binding to the levmar library using Cython.

Project description

Build status PyPI version Python version License coverage

A Python binding to the levmar library. Note that this is a fork of https://github.com/tkanmae/levmar.

Description

The levmar is GPL’ed ANSI C implementation of the Levenberg-Marquardt (LM) optimization algorithm. The LM algorithm provides a numerical solution to the problem of minimizing a function over a parameter space of a function. The levmar library provides implementation of both unconstrained and constrained LM algorithms (box, linear equation, and linear inequality constraints).

Installation

Simplest way to install levmar and its dependencies is to use the conda package manager:

$ conda install -c bjodah levmar pytest
$ python -m pytest --pyargs levmar  # runs the test-suite

alternatively you may also use pip:

$ python -m pip install --user --upgrade pytest levmar
$ python -m pytest --pyargs levmar

you can skip the --user flag if you have got root permissions.

Documentation

See docstrings and demo scripts contained in the directory ./examples. Documentation of the levmar library can be found at http://www.ics.forth.gr/~lourakis/levmar/. Auto-generated API documentation for the latest stable release of this wrapper is found here: https://bjodah.github.io/levmar/latest (and the development version for the current master branch of this wrapper is found here: http://hera.physchem.kth.se/~levmar/branches/master/html).

Authors

Takeshi Kanmae <tkanmae@gmail.com>. For all authors see AUTHORS.

License

The MIT license applies to all the files except those in ./levmar-2.6. All of the software in ./levmar-2.6 and only the software therein is copyrighted by Manolis Lourakis and is licensed under the terms and conditions of the GNU General Public License (GPL). See the file LICENSE.txt.

Resources

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

levmar-0.2.3.tar.gz (172.8 kB view details)

Uploaded Source

File details

Details for the file levmar-0.2.3.tar.gz.

File metadata

  • Download URL: levmar-0.2.3.tar.gz
  • Upload date:
  • Size: 172.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/41.0.1 requests-toolbelt/0.8.0 tqdm/4.23.3 CPython/3.5.2

File hashes

Hashes for levmar-0.2.3.tar.gz
Algorithm Hash digest
SHA256 fbdeaac4390e69121d4195bcafc815e7ba92bca06bcced769abeed37a13cd5c0
MD5 6bb232dcecb35fcad053a95c2b675d3e
BLAKE2b-256 8476cdaff37d71afb60a24d5ee320c69edc63fff4ebddbc6c51e27b4c4cfdbc8

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