Skip to main content

Fitspy (A generic tool to fit spectra in python)

Project description

Fitspy

Fitspy is a generic tool dedicated to fit spectra in python.

Its GUI aims to be as simple and intuitive as possible.

Processed spectra may be independent of each other or may result from 2D-maps acquisitions.


Example of a fitspy 2D-map frame interacting with the main GUI

The fitting algorithm has multiprocessing capabilities and relies on the lmfit library.
Bounds and constraints can be set on each peaks models parameter.

The peak models considered in fitspy are :

  • Gaussian
  • Lorentzian
  • Asymetric Gaussian
  • Asymetric Lorentzian
  • Pseudovoigt

A constant, linear, parabolic, gaussian or exponential background can also be added in the fitting.

All actions allowed with the GUI can be easily executed in script mode (see examples here).

All users instructions (baseline definition and removal, peaks definition, parameters constraints, ...) can be saved in a 'fitspy' model and replayed as is or applied to other new spectra.

Authors informations

In case you use the results of this code in an article, please cite:

  • (To come)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

fitspy-2023.1-py3.10.egg (85.8 kB view hashes)

Uploaded Source

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