Skip to main content

Graphical Curve Fitting GUI for Python

Project description

Curve Graphical Curve Fitting

A Python-based graphical interface for fitting experimental data, built on top of lmfit, emcee, scipy and PyQt5. It allows interactive visualization, model customization, and multi-method fit analysis (1D and 2D).


Features

  • Multi-tab GUI: manage several fit sessions in parallel

  • Custom model editor: write formulas directly, with auto-detected parameters

  • Fitting methods:

    • Least-squares (lmfit)
    • MCMC sampling (emcee)
    • Orthogonal Distance Regression (scipy.odr)
  • Data types supported:

    • 1D fit (y = f(x)) with optional error bars
    • 2D fit (z = f(x, y)) with surface visualization
  • Advanced visualization tools:

    • Residual plots and confidence intervals
    • 2D surface fit & scatter overlays
    • Component breakdown (for additive models)
    • MCMC diagnostics: chains, corner plots, autocorrelation
  • Fit comparison manager: store, label and compare multiple models per dataset

  • Data & results export/import (CSV)

Other tools such as PyModelFit, curvefitgui, or more general platforms like Veusz also provide GUI-based fitting capabilities.


Installing

git clone https://github.com/gcfpy/gcfpy
cd gcfpy
pip install -e .

Launch the Application

gcfpy

or

python -m gcfpy.app.main_window

Documentation

Read the docs.

It is possible to build the doc locally :

mkdocs serve

The full documentation is written in Markdown using MkDocs with the Material theme.


Contributions

We appreciate and welcome contributions. Small improvements or fixes are always appreciated.

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

gcfpy-0.1.0.tar.gz (125.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gcfpy-0.1.0-py3-none-any.whl (122.9 kB view details)

Uploaded Python 3

File details

Details for the file gcfpy-0.1.0.tar.gz.

File metadata

  • Download URL: gcfpy-0.1.0.tar.gz
  • Upload date:
  • Size: 125.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for gcfpy-0.1.0.tar.gz
Algorithm Hash digest
SHA256 64627c9f349bc7d8ad27df63aa0e543deef2d4decde3bad384df7dadfa587409
MD5 576f85fc6f7486dd486dba5b992be9a7
BLAKE2b-256 cab2dda5ca058cf0bf69080601b1c6c5a8df47092c1d506550d17ab3231bade2

See more details on using hashes here.

File details

Details for the file gcfpy-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: gcfpy-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 122.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for gcfpy-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 eb528aa562d60b503af15c451d533cdd41fb690c8e7152f4b22ea97fdafc207a
MD5 9c492fb7c547d82124b48cfb4d26ce9e
BLAKE2b-256 cdcfe5716c109812cf5c0a3ea72b0bfb225adfbe59f17128f30beb7bcfd1d051

See more details on using hashes here.

Supported by

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