Adsorption Isotherms
This module implements adsorption isotherms that describe how surface occupancy depends on bulk concentration.
Langmuir Isotherm
- class microscopic_gating.adsorption.LangmuirIsotherm(K)[source]
Bases:
objectLangmuir isotherm from grand canonical two-state site model.
Implements the standard Langmuir adsorption model (Eq. S3-S4):
\[\theta(\phi) = \frac{\phi/K}{1+\phi/K}\]This corresponds to a single-site partition function \(Z = 1 + z e^{\beta \epsilon}\), with \(z \simeq \phi/\phi^\circ\) and \(K = \phi^\circ e^{-\beta\epsilon}\).
- Parameters:
K (
float) – Dissociation constant (same unit as \(\phi\)). Smaller K indicates stronger binding.
See also
HillIsothermExtended isotherm with cooperativity parameter.
Examples
>>> isotherm = LangmuirIsotherm(K=1.0) >>> isotherm.theta(1.0) 0.5 >>> isotherm.theta([0.1, 1.0, 10.0]) array([0.0909..., 0.5, 0.9090...])
References
Eq. (S3)-(S4): Grand canonical two-state site model
Hill Isotherm
- class microscopic_gating.adsorption.HillIsotherm(K, n=1.0)[source]
Bases:
objectHill isotherm with effective cooperativity.
Extends the Langmuir model with a Hill coefficient to capture cooperative or multi-body effects:
\[\theta(\phi) = \frac{(\phi/K)^n}{1+(\phi/K)^n}\]- Parameters:
See also
LangmuirIsothermSpecial case with n=1.
Notes
Hill behavior is not required by the minimal model, but can represent effective multi-body or cooperative binding effects.
Examples
>>> isotherm = HillIsotherm(K=1.0, n=2.0) >>> isotherm.theta(1.0) 0.5 >>> isotherm.theta([0.5, 1.0, 2.0]) array([0.2, 0.5, 0.8])
- theta(phi)[source]
Calculate occupancy fraction with cooperativity.
- Parameters:
phi (
ArrayLike) – Bulk concentration (same unit as K).- Returns:
theta – Occupancy fraction in [0, 1], same shape as phi.
- Return type:
ArrayLike
Notes
The Hill coefficient \(n\) controls the steepness of the transition around \(\phi = K\).
Theory Background
The Langmuir isotherm derives from a grand canonical two-state site model:
where \(K\) is the dissociation constant and \(\phi\) is the bulk concentration.
The Hill isotherm extends this with an effective cooperativity parameter:
where \(n\) is the Hill coefficient (n=1 reduces to Langmuir).