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 ).
Metadata
Release files for mm-fitting 1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| mm_fitting-1.1-py3-none-any.whl | Python 3 | none | any | Details for mm_fitting-1.1-py3-none-any.whl |
Release files / mm_fitting-1.1-py3-none-any.whl
| Download URL | mm_fitting-1.1-py3-none-any.whl |
|---|---|
| Size | 7.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8e19d6d662da8ff5625b4f60c6b401544775c8a00f4282c56588d7ee1491670c
|
|
BLAKE2b-256 checksum How to use checksums |
32c1e9c5ddc6f4b8834cb4cec361fcadd5a2169b5e309e6660e5307347cfee0c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Security for mm-fitting 1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.