<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Diana Ambers</title>
    <description>The latest articles on DEV Community by Diana Ambers (@diana_ambers_4ad5efa84f4c).</description>
    <link>https://dev.to/diana_ambers_4ad5efa84f4c</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4271112%2F11285291-fd27-49a2-8c7b-72d96b965c13.png</url>
      <title>DEV Community: Diana Ambers</title>
      <link>https://dev.to/diana_ambers_4ad5efa84f4c</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/diana_ambers_4ad5efa84f4c"/>
    <language>en</language>
    <item>
      <title>Modeling Intraocular Pressure with Python: A Goldmann Equation Sensitivity Analysis</title>
      <dc:creator>Diana Ambers</dc:creator>
      <pubDate>Sat, 28 Nov 2026 17:26:07 +0000</pubDate>
      <link>https://dev.to/diana_ambers_4ad5efa84f4c/modeling-intraocular-pressure-with-python-a-goldmann-equation-sensitivity-analysis-1pb4</link>
      <guid>https://dev.to/diana_ambers_4ad5efa84f4c/modeling-intraocular-pressure-with-python-a-goldmann-equation-sensitivity-analysis-1pb4</guid>
      <description>&lt;h2&gt;
  
  
  How can a simple mathematical model help us understand the relationship between fluid dynamics and intraocular pressure (IOP)?
&lt;/h2&gt;

&lt;p&gt;As an ophthalmologist working on laser–tissue interactions and iris stromal biology, I am particularly interested in computational models that help translate physiological hypotheses into testable predictions.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Mathematical Model
&lt;/h2&gt;

&lt;p&gt;The simplified Goldmann equation describes intraocular pressure as:&lt;/p&gt;

&lt;p&gt;IOP = (F − U) / C + Pv&lt;/p&gt;

&lt;p&gt;Where:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;F: Aqueous humor production rate&lt;/li&gt;
&lt;li&gt;U: Uveoscleral outflow rate&lt;/li&gt;
&lt;li&gt;C: Conventional outflow facility&lt;/li&gt;
&lt;li&gt;Pv: Episcleral venous pressure&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This equation provides a useful starting point for exploring how changes in outflow facility influence intraocular pressure.&lt;/p&gt;

&lt;h2&gt;
  
  
  Implementing the Model in Python
&lt;/h2&gt;

&lt;p&gt;We can use NumPy and Matplotlib to perform a basic sensitivity analysis.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="n"&gt;numpy&lt;/span&gt; &lt;span class="k"&gt;as&lt;/span&gt; &lt;span class="n"&gt;np&lt;/span&gt;
&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="n"&gt;matplotlib&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;pyplot&lt;/span&gt; &lt;span class="k"&gt;as&lt;/span&gt; &lt;span class="n"&gt;plt&lt;/span&gt;

&lt;span class="no"&gt;F&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mf"&gt;2.5&lt;/span&gt;
&lt;span class="no"&gt;U&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mf"&gt;0.5&lt;/span&gt;
&lt;span class="nc"&gt;Pv&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mf"&gt;8.0&lt;/span&gt;

&lt;span class="no"&gt;C&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;linspace&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mf"&gt;0.10&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mf"&gt;0.60&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;200&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="no"&gt;IOP&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="no"&gt;F&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt; &lt;span class="no"&gt;U&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt; &lt;span class="no"&gt;C&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="nc"&gt;Pv&lt;/span&gt;

&lt;span class="n"&gt;plt&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;figure&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;figsize&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;10&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;6&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;plt&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;plot&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="no"&gt;C&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="no"&gt;IOP&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;linewidth&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;plt&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;xlabel&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"Outflow facility (µL/min/mmHg)"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;plt&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;ylabel&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"Intraocular pressure (mmHg)"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;plt&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;title&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"Goldmann Equation Sensitivity Analysis"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;plt&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;grid&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;alpha&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mf"&gt;0.3&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;plt&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;tight_layout&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;plt&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;show&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Understanding the Results
&lt;/h2&gt;

&lt;p&gt;The relationship between outflow facility and intraocular pressure is nonlinear.&lt;/p&gt;

&lt;p&gt;As conventional outflow facility increases, the modeled pressure decreases. However, the magnitude of this reduction depends on the initial physiological parameters.&lt;/p&gt;

&lt;p&gt;This makes sensitivity analysis particularly useful when investigating biological systems with substantial individual variability.&lt;/p&gt;

&lt;h2&gt;
  
  
  Extending the Simulation
&lt;/h2&gt;

&lt;p&gt;Potential extensions include:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Monte Carlo simulations of physiological variability&lt;/li&gt;
&lt;li&gt;Multivariate sensitivity analysis&lt;/li&gt;
&lt;li&gt;Longitudinal parameter estimation&lt;/li&gt;
&lt;li&gt;Bayesian modeling&lt;/li&gt;
&lt;li&gt;Uncertainty quantification&lt;/li&gt;
&lt;li&gt;Interactive scientific dashboards&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Applications in Ophthalmic Research
&lt;/h2&gt;

&lt;p&gt;Computational approaches can support research into trabecular outflow, pigment dynamics, laser–tissue interactions and aqueous humor homeostasis.&lt;/p&gt;

&lt;p&gt;My broader research includes Selective Stromal Melanin Modulation (SSMM) and the biological response of iris tissue to ophthalmic laser exposure.&lt;/p&gt;

&lt;p&gt;Related research by the author:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://mylumineyes.com/research/papers/ssmm-integrative-framework/" rel="noopener noreferrer"&gt;SSMM Integrative Framework&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://mylumineyes.com/research/papers/" rel="noopener noreferrer"&gt;Ophthalmic Laser Research and Scientific Papers&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;Python provides an accessible environment for transforming physiological equations into reproducible computational experiments.&lt;/p&gt;

&lt;p&gt;The numerical parameters in this example are illustrative rather than patient-derived. The simulation demonstrates mathematical relationships, not clinical treatment outcomes.&lt;/p&gt;

&lt;p&gt;I would welcome feedback from developers and researchers interested in computational physiology, biomedical engineering and scientific modeling.&lt;/p&gt;

</description>
      <category>datascience</category>
      <category>python</category>
      <category>science</category>
    </item>
  </channel>
</rss>
