Skip to content

Commit

Permalink
sensitivity mode
Browse files Browse the repository at this point in the history
  • Loading branch information
olive004 committed Feb 25, 2024
1 parent 8041e40 commit 0c221d4
Show file tree
Hide file tree
Showing 2 changed files with 226 additions and 57 deletions.
261 changes: 214 additions & 47 deletions notebooks/12_sensitivity_peak.ipynb

Large diffs are not rendered by default.

22 changes: 12 additions & 10 deletions synbio_morpher/utils/modelling/physical.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,21 @@
from synbio_morpher.utils.misc.units import SCIENTIFIC


def F(E):
""" Parameterisation of relative GFP fluorescence binding from
paper [Metabolic engineering of Escherichia coli using synthetic small regulatory RNAs](
https://www.nature.com/articles/nbt.2461
). See the notebook `explanations/binding_energy_reparameterisation` for
more details.
The binding energy is in units of kcal/mol """
F = (1-0.01)/(1+np.exp(-(E/2 + 5))) + 0.01
return F
# def F(E):
# """ Parameterisation of relative GFP fluorescence binding from
# paper [Metabolic engineering of Escherichia coli using synthetic small regulatory RNAs](
# https://www.nature.com/articles/nbt.2461
# ). See the notebook `explanations/binding_energy_reparameterisation` for
# more details.
# The binding energy is in units of kcal/mol """
# F = (1-0.01)/(1+np.exp(-(E/2 + 5))) + 0.01
# return F


def equilibrium_constant_reparameterisation(E, initial: np.array):
""" The energy input E is $\Delta G$ in kcal/mol.
""" Input: E is $\Delta G$ of binding in kcal/mol.
Output: equilibrium constant
IMPORTANT: Using the mean initial quantity of all species, as this
equation was derived under the assumption that all unbound species
start with the same concentration and have the same interactions """
Expand Down

0 comments on commit 0c221d4

Please sign in to comment.