Skip to main content

Karlsruhe Fit Environment 2: a package for fitting and elementary data analysis

Project description

https://badge.fury.io/py/kafe2.svg Documentation Status

kafe2 is an open-source Python package for the likelihood-based estimation of model parameters from measured data. As the spiritual successor to the original kafe package it aims to provide state-of-the-art statistical methods in a way that is still easy to use. More information here.

If you have installed pip just run

pip install kafe2

to install the latest stable version and you’re (mostly) ready to go. The Python package iminuit which kafe2 uses internally for numerical optimization may fail to be installed automatically if no C++ compiler is available on your system . While iminuit is strictly speaking not required its use is heavily recommended. Make sure to read the pip installation log. As of kafe2 v2.4.0 only Python 3 is supported. kafe2 works with matplotlib version 3.4 and newer.

The documentation under kafe2.readthedocs.io has more detailed installation instructions. It also explains kafe2 usage as well as the mathematical foundations upon which kafe2 is built.

If you prefer a more practical approach you can instead look at the various examples. In addition to the regular Python/kafe2go files there are also Jupyter notebook tutorials (in English and in German) that mostly cover the same topics.

If you encounter any bugs or have an improvement proposal, please let us know by opening an issue here.

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

kafe2-2.10.0.tar.gz (267.9 kB view details)

Uploaded Source

Built Distribution

kafe2-2.10.0-py3-none-any.whl (317.6 kB view details)

Uploaded Python 3

File details

Details for the file kafe2-2.10.0.tar.gz.

File metadata

  • Download URL: kafe2-2.10.0.tar.gz
  • Upload date:
  • Size: 267.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.21

File hashes

Hashes for kafe2-2.10.0.tar.gz
Algorithm Hash digest
SHA256 69c3a735d099c868b53927d27c4a9d56abfad893bda03800d905762dd5c258a4
MD5 622ded71cd63103b879dce699e2ac903
BLAKE2b-256 4a619b4a0372899ae7de97e4037e210ee1f490f5ad4f860b791aca8923e964aa

See more details on using hashes here.

File details

Details for the file kafe2-2.10.0-py3-none-any.whl.

File metadata

  • Download URL: kafe2-2.10.0-py3-none-any.whl
  • Upload date:
  • Size: 317.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.21

File hashes

Hashes for kafe2-2.10.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1abc8ad25ffc9718b6668e408b28f03afae47b01b2223ff536c382de6f3b32d5
MD5 302bc75a015a221ea158431812c98869
BLAKE2b-256 f588c00101d5c715d6cfcf054f7b4010cf0959a1eca10a7d25ce2c8b3ea4058f

See more details on using hashes here.

Supported by

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