Fast and efficient theoretical isotopic profile generation
Project description
:mod:brainpy
is a small Python library implementing the B afflingly R ecursive
A lgorithm for I sotopic Patter N generation [Dittwald2014]_. It includes three implementations,
a pure-Python object oriented implementation, a :title-reference:Cython
accelerated
version of the object oriented implementation, and a pure :title-reference:C
implementation,
listed in order of ascending speed. The C implementation is used by default when available.
BRAIN, implemented in :func:brainpy.isotopic_variants
, takes an elemental
composition represented by any :class:~.collections.abc.Mapping
-like Python object and uses
it to compute its aggregated isotopic distribution. All isotopic variants of the same number
of neutrons are collapsed into a single centroid peak, meaning it does not consider isotopic
fine structure.
Installing
:mod:brainpy
has three implementations, a pure Python implementation, a Cython translation
of that implementation, and a pure C implementation that releases the :title-reference:GIL
.
To install from a package index, you will need to have a C compiler appropriate to your Python
version to build these extension modules. Additionally, there are prebuilt wheels for Windows
available on PyPI <https://pypi.org/project/brain-isotopic-distribution/>
_:
.. code-block:: sh
$ pip install brain-isotopic-distribution
To build from source, in addition to a C compiler you will also need to install a recent version
of Cython <https://pypi.org/project/Cython/>
_ to transpile C code.
References
This package is an implementation of the algorithm originally described in P. Dittwald, J. Claesen, T. Burzykowski, D. Valkenborg, and A. Gambin, "BRAIN: a universal tool for high-throughput calculations of the isotopic distribution for mass spectrometry.", Anal. Chem., vol. 85, no. 4, pp. 1991–4, Feb. 2013.
H. Hu, P. Dittwald, J. Zaia, and D. Valkenborg,
"Comment on 'Computation of isotopic peak center-mass distribution by fourier transform'.",
Anal. Chem., vol. 85, no. 24, pp. 12189–92, Dec. 2013.
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 Distributions
File details
Details for the file brain_isotopic_distribution-1.5.17.tar.gz
.
File metadata
- Download URL: brain_isotopic_distribution-1.5.17.tar.gz
- Upload date:
- Size: 553.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c5965e9e9ab85829c5e018282930fe1d14f861c42a325e9a865acd97963cdac9 |
|
MD5 | d7ca85b275b0390f04518f7d21c2ef65 |
|
BLAKE2b-256 | 92b9a3b1d1247b567b85b314409f4a8c830a84c60edfc993eee40d9838d7e3e6 |
File details
Details for the file brain_isotopic_distribution-1.5.17-cp312-cp312-win_amd64.whl
.
File metadata
- Download URL: brain_isotopic_distribution-1.5.17-cp312-cp312-win_amd64.whl
- Upload date:
- Size: 806.4 kB
- Tags: CPython 3.12, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | de0467a6b33fbf192832da9ade8b2f87001a0f98a2eeae754de9b09864982a85 |
|
MD5 | b94c9df999534661e98246782dc75f89 |
|
BLAKE2b-256 | f8980660943bda4fce9b36a494caf1919bb56acbbbbf82d04441c7800e3913c6 |
File details
Details for the file brain_isotopic_distribution-1.5.17-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: brain_isotopic_distribution-1.5.17-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 2.2 MB
- Tags: CPython 3.12, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e8a76a1f09281c055453632f2fe6fab6e98499b23f615dd5e2f724de05dfe1b8 |
|
MD5 | 754c745144e7f577dde1dd61046f1d82 |
|
BLAKE2b-256 | 53e5fbba53eb095803731e81d50513c2e674db2a21c1a1d1806251196974ed3d |
File details
Details for the file brain_isotopic_distribution-1.5.17-cp312-cp312-macosx_11_0_arm64.whl
.
File metadata
- Download URL: brain_isotopic_distribution-1.5.17-cp312-cp312-macosx_11_0_arm64.whl
- Upload date:
- Size: 820.1 kB
- Tags: CPython 3.12, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 985d65cfce9ca930ad054a4a6cb4667b77097cee1a21148afd83bba5607c2743 |
|
MD5 | e67b74e09344b3c71e1c8cbf1481e137 |
|
BLAKE2b-256 | 66a047e6e5a29e64bdca342918d589308289e84a71cb8abffb5b74be819b3be6 |
File details
Details for the file brain_isotopic_distribution-1.5.17-cp311-cp311-win_amd64.whl
.
File metadata
- Download URL: brain_isotopic_distribution-1.5.17-cp311-cp311-win_amd64.whl
- Upload date:
- Size: 806.3 kB
- Tags: CPython 3.11, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fd1f2cccb584c619a413ead013f58da7fbb8cd76ba994e52f6d8cf2451056f7c |
|
MD5 | b00d565d5d059248184375f2fc37d586 |
|
BLAKE2b-256 | 1b4b25962364788c2ae70617e3a2d1a292c2f7b19ae4700720df4d6da68d7912 |
File details
Details for the file brain_isotopic_distribution-1.5.17-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: brain_isotopic_distribution-1.5.17-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 2.2 MB
- Tags: CPython 3.11, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f54b80d23604ed75947dd2b3f3647c75f410c841cfc1b9733c57b76d9c4604dd |
|
MD5 | d79214506f69fa12582a3f336068900d |
|
BLAKE2b-256 | c5e5f77bdb474b3432c078f39f37a5819ca240caf8360a0adcd0787ef3c7694b |
File details
Details for the file brain_isotopic_distribution-1.5.17-cp311-cp311-macosx_11_0_arm64.whl
.
File metadata
- Download URL: brain_isotopic_distribution-1.5.17-cp311-cp311-macosx_11_0_arm64.whl
- Upload date:
- Size: 819.1 kB
- Tags: CPython 3.11, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d79a6f4266f47947e56ac100ff9590360c74f133868ea4b7f22b86b403265106 |
|
MD5 | 12aa27e5446ffc411979a6744e15a43e |
|
BLAKE2b-256 | 0d76f004f8418d485a4f7868072c213e7424abbc40c615b003c7e7646af084b0 |
File details
Details for the file brain_isotopic_distribution-1.5.17-cp310-cp310-win_amd64.whl
.
File metadata
- Download URL: brain_isotopic_distribution-1.5.17-cp310-cp310-win_amd64.whl
- Upload date:
- Size: 806.0 kB
- Tags: CPython 3.10, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 08efcd084ebd6a88a76e19e79cd427593eaa8708da7195cdab61d0c61c9610e6 |
|
MD5 | 926c907d69a989568f72d3359e3a24a9 |
|
BLAKE2b-256 | 0aba9b3d7872b26801ba6ce1be50b16969e6b3d6a4440b68931496aa6ec7922e |
File details
Details for the file brain_isotopic_distribution-1.5.17-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: brain_isotopic_distribution-1.5.17-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 2.1 MB
- Tags: CPython 3.10, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7514b54c452dee3d3db397e68f3dc5cad6b5cce3187704f81259b80b837dc405 |
|
MD5 | 1164833004ab3d8d3f49d6eb6a3af3aa |
|
BLAKE2b-256 | 73e3ced77aa358dc26ec91988b7ea093461f442fbb116b0a5e1506a92b1d8fd8 |
File details
Details for the file brain_isotopic_distribution-1.5.17-cp310-cp310-macosx_11_0_arm64.whl
.
File metadata
- Download URL: brain_isotopic_distribution-1.5.17-cp310-cp310-macosx_11_0_arm64.whl
- Upload date:
- Size: 819.1 kB
- Tags: CPython 3.10, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e4f845107dbcd50321e7aa034059857d0e7ee70ede867446cfb2c8c09ccb188c |
|
MD5 | 061babd5ee868129a4a688ea025973a1 |
|
BLAKE2b-256 | 6483bf69be4ec808b4c98e0b6d0043ee0721a14cd15b6354c395d4e85c55e0c5 |
File details
Details for the file brain_isotopic_distribution-1.5.17-cp39-cp39-win_amd64.whl
.
File metadata
- Download URL: brain_isotopic_distribution-1.5.17-cp39-cp39-win_amd64.whl
- Upload date:
- Size: 806.8 kB
- Tags: CPython 3.9, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fde9b640ab0c4acbab9a165096bec99ac771c2ece072dfe0a842775565cae99f |
|
MD5 | de49c5eacd5ee7eb40b5d151be72653a |
|
BLAKE2b-256 | 1699a280b3e902d47e4469a5e9c654c750dd6dc200333807c8f2ee70732701b1 |
File details
Details for the file brain_isotopic_distribution-1.5.17-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: brain_isotopic_distribution-1.5.17-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 2.1 MB
- Tags: CPython 3.9, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c7c81906e6e33845e73e91b428d32aa70b3b3b9c32ef7ec23dc45f88e7e57b64 |
|
MD5 | f1149bd1ded2f509135dc91b99f6a1bb |
|
BLAKE2b-256 | 929c604c86efa416a244be7bc193c6d3d67168c767c4b00f37c38538c28789ac |
File details
Details for the file brain_isotopic_distribution-1.5.17-cp39-cp39-macosx_11_0_arm64.whl
.
File metadata
- Download URL: brain_isotopic_distribution-1.5.17-cp39-cp39-macosx_11_0_arm64.whl
- Upload date:
- Size: 820.1 kB
- Tags: CPython 3.9, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5bd7a33109298e74f32768d0406e55786339f1af20ba6cc89c40088032f21bc3 |
|
MD5 | 813bf7cfddfd58e9ed68dd53eb9a09c1 |
|
BLAKE2b-256 | 71f7c6bbc2b573eeafa100a3a79c5baec5c3e79918e1b92b2cb67e8509fab0d6 |
File details
Details for the file brain_isotopic_distribution-1.5.17-cp38-cp38-win_amd64.whl
.
File metadata
- Download URL: brain_isotopic_distribution-1.5.17-cp38-cp38-win_amd64.whl
- Upload date:
- Size: 807.9 kB
- Tags: CPython 3.8, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4e61e0de181ca542e8a995555b9b7c40641e152f8d6e7c06b5a47207d11aead4 |
|
MD5 | bc58c76d05eb0fd60684bcc6daa55799 |
|
BLAKE2b-256 | 82d6a048df6fc4ee367430d34285dbb5a8f2d025912a6a3653fecfe2fd8be656 |
File details
Details for the file brain_isotopic_distribution-1.5.17-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: brain_isotopic_distribution-1.5.17-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 2.1 MB
- Tags: CPython 3.8, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1bf97bd705df50f0a39a8b8b765b422932391e22502ca58a37b5ffb4e9e59a75 |
|
MD5 | 245b98b9edb3d184d94ee030956f5cdd |
|
BLAKE2b-256 | 7d56094574759a46c607c3ebb6e5a3a0f7f0fe6ee9724d7b78a895ce28d7db59 |
File details
Details for the file brain_isotopic_distribution-1.5.17-cp38-cp38-macosx_11_0_arm64.whl
.
File metadata
- Download URL: brain_isotopic_distribution-1.5.17-cp38-cp38-macosx_11_0_arm64.whl
- Upload date:
- Size: 819.1 kB
- Tags: CPython 3.8, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3c16efe45008dfd7d1be04ca511b5ed2c5e1c216d0d39502467ce442d0fbdb9f |
|
MD5 | e19954571ae92884d1e60c60f487048b |
|
BLAKE2b-256 | a3953b4707f71929a4e3360153b88554f631af4cf61f57ff166502c60327297d |