Skip to main content

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)

Table of built distributions (wheels) for mm-fitting 1.1
File Interpreter ABI Platform
mm_fitting-1.1-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

1.1 This release

1 release file

1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page