ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/osprai/osprai/trunk/ba_class.py
(Generate patch)
# Line 172 | Line 172
172      def simulate(self, bulkRI=1000, kon=1e4, koff=1e-2, conc=1e-6):
173          """
174          Fill ROI with simulated data from simple 1:1 binding.
175 <        The following parameters are hard-coded:
176 <          Time 35-65 features jump of bulkRI.
177 <          Time 100-200 has binding using kon, conc.
178 <          Also jump of bulkRI/10.
179 <          Time 200-300 has dissociation using koff.
180 <        The model formulas are:
175 >        
176 >        The following parameters are hard-coded.
177 >        
178 >          * Time 35 - 65 s features jump of ``bulkRI``.
179 >          * Time 100 - 200 s has binding using ``kon``, ``conc``.
180 >          * Also jump of ``bulkRI`` / 10.
181 >          * Time 200 - 300 s has dissociation using koff.
182 >          
183 >        The model formulas are::
184 >        
185            alpha = c*kon+koff
186            Req = Rmax*c*kon / alpha
187            R = Req * [1 - exp(-t*alpha)]
188 +          
189          """
190          ## Error checking.
191          if (koff <= 0): raise Exception, "Simulation koff must be >0"

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines