Skip to main content

Fitting of time-of-flight mass spectra with Hyper-EMG models

Project description

https://github.com/RobbenRoll/emgfit/workflows/CI%20tests/badge.svg?branch=master https://img.shields.io/pypi/v/emgfit.svg

Fitting of time-of-flight mass spectra with Hyper-EMG models

emgfit is a Python package for peak fitting of time-of-flight (TOF) mass spectra with hyper-exponentially modified Gaussian (Hyper-EMG [1]) model functions. emgfit is a wrapper around the lmfit [2] curve fitting package and uses many of lmfit’s user-friendly high-level features. Experience with lmfit can be helpful but is not an essential prerequisite for using emgfit since the lmfit features stay largely ‘hidden under the hood’. emgfit is designed to be user-friendly and offers automation features whenever reasonable while also supporting a large amount of flexibility and control for the user. Depending on the user’s preferences an entire spectrum can be rapidly analyzed with only a few lines of code. Alternatively, various optional features are available to aid the user in a more rigorous analysis. The model functions and statistical methods provided by emgfit could be useful for analyses of spectroscopic data from a variety of other fields.

Amongst other features, the emgfit toolbox includes:

  • Automatic and sensitive peak detection

  • Automatic import of literature values from the AME2020 [3] (or AME2016 [4]) mass database

  • Automatic selection of the best suited peak-shape model

  • Fitting of low-statistics peaks with a binned maximum likelihood method

  • Simultaneous fitting of an entire spectrum with various peaks

  • Export of all relevant fit results including fit statistics and plots to an EXCEL output file for convenient post-processing

emgfit is designed to be used within Jupyter Notebooks which have become a standard tool in the data science community. The usage and capabilities of emgfit are best explored by looking at the tutorial. The tutorial and more details can be found in the online documentation.

References

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

emgfit-0.5.0.tar.gz (657.1 kB view details)

Uploaded Source

Built Distribution

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

emgfit-0.5.0-py3-none-any.whl (658.8 kB view details)

Uploaded Python 3

File details

Details for the file emgfit-0.5.0.tar.gz.

File metadata

  • Download URL: emgfit-0.5.0.tar.gz
  • Upload date:
  • Size: 657.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for emgfit-0.5.0.tar.gz
Algorithm Hash digest
SHA256 511b0b3adbe3955362e38b456904b7192175a72981f4f38ed150801d5df0d99e
MD5 c78966df6eca6554d5f3230c45e19a5d
BLAKE2b-256 ebf18f3a9746799506b7730c57c97f634319b897bf72c7590984426cb340161a

See more details on using hashes here.

File details

Details for the file emgfit-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: emgfit-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 658.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for emgfit-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2b616a8df5a74389f58c19477700c48346b137d789e28311a09358af1457ea0b
MD5 b1282c3c186da848f5088e6f851b42d2
BLAKE2b-256 7da7a1ff4c79a8d6bf210d4ed2155075425f141ebcbaa303dd87785db7402376

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