Skip to main content

This program calculates the isotopic distribution/pattern of a given chemical species.

Project description

pyISOPACh - a "fairly fast" ISOtope PAttern Calculator for Python

Project Status: Active - The project has reached a stable, usable state and is being actively developed. PyPI - License PyPI PyPI - Python Version PyPI - Status Build Status

This is a sister package of the DIMEdb project. This program calculates the isotopic distribution/pattern of a given chemical species.


pyISOPACh requires Python 3+ and is unfortunately not compatible with Python 2. If you are still using Python 2, a clever workaround is to install Python 3 and use that instead.

The easiest way of installing pyISOPACh is using pip:

pip install pyisopach

Alternatively, you can use git and pip in unison to get the development branch:

pip install

Example Usage

# Import the package into python
>>> import pyisopach
# Create Molecule object for Sucrose
>>> mol = pyisopach.Molecule("C12H22O11")
# Return molecular weight
>>> mol.molecular_weight
# Calculate isotopic distribution/pattern
>>> mol.isotopic_distribution()
(array([342.11621155, 343.11956639, 344.12045733]), array([100.        ,  12.97887395,   2.260493  ]))


Code released under the MIT license.

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

pyisopach-0.1.2.tar.gz (9.9 kB view hashes)

Uploaded source

Built Distribution

pyisopach-0.1.2-py3-none-any.whl (10.8 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page