Fitspy (A generic tool to fit spectra in python)
Project description
Fitspy
Fitspy is a generic tool dedicated to fit spectra in python with a GUI that 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 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).
These actions (like 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file fitspy-2023.3.tar.gz
.
File metadata
- Download URL: fitspy-2023.3.tar.gz
- Upload date:
- Size: 45.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 97e4cdcb602124084b57e625323f1d56a70ea9271d872094a6b84e631f1ad056 |
|
MD5 | 395cc0c89f6bddac4bd728fe8e303353 |
|
BLAKE2b-256 | 2668206edf45f76b7fec11206a7c0fae7ca5fc3d649ee6747fe09fd5bf2dca30 |
File details
Details for the file fitspy-2023.3-py3-none-any.whl
.
File metadata
- Download URL: fitspy-2023.3-py3-none-any.whl
- Upload date:
- Size: 47.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 60983c4bfc6033d8ea42eb04727b8fc24c537e088fd4968674b7bc491c98d391 |
|
MD5 | b6fada2a58faa67e01c64a9b1fdab762 |
|
BLAKE2b-256 | a5f72c58c297ab53c6995315278923442f9381298688c550c0b3bfe8aadb9f88 |