Methods to compute Michaelis-Menten equation parameters and statistics.
Project description
Michaelis-Menten equation fitting to data
A Python module that implements five methods to fit the Michaelis-menten equation to a set of points of rate vs substrate concentration.
The methods are:
- Non-linear regression (Levemberg-Marquard algorithm applied to Michaelis-Menten equation)
- The Direct Linear Plot
- The Lineweaver-Burk linearization
- The Hanes linearization
- The Eddie-Hofstee linearization
Short usage:
Given two numpy
1D-arrays, a
and v0
containing substrate concentrations and initial rates, respectively,
results = mm_fitting.compute_methods(a, v0)
will apply all five methods and generate a dict
with keys a
and v0
and results
. The value of
results
will be a list of namedtuples containg the results for each method.
numpy
-only dependency
All methods are implemented in numpy and do not require either scipy
or data analysis module like pandas
:
- linearizations are computed by a thin wrapper of
numpy.polyfit()
with degree one. - non-linear regression is computed using a numpy-only version of the Levemberg-Marquard algorithm. Code was adapted from Abner Bogan's Github repo for a numpy-only version of the algorithm (abnerbog/ levenberg-marquardt-method ).
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 Distributions
Built Distribution
File details
Details for the file mm_fitting-1.1-py3-none-any.whl
.
File metadata
- Download URL: mm_fitting-1.1-py3-none-any.whl
- Upload date:
- Size: 7.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/5.1.0 pkginfo/1.9.6 requests/2.31.0 requests-toolbelt/1.0.0 tqdm/4.65.0 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8e19d6d662da8ff5625b4f60c6b401544775c8a00f4282c56588d7ee1491670c |
|
MD5 | ef45fed435832fc72639fde5d705401f |
|
BLAKE2b-256 | 32c1e9c5ddc6f4b8834cb4cec361fcadd5a2169b5e309e6660e5307347cfee0c |