Stochastic production and degradation model¶
- class pints.toy.stochastic.ProductionDegradationModel(initial_molecule_count=20)[source]¶
Stochastic production and degradation model of two separate chemical reactions reaction starting from an initial molecule count \(A(0)\) and degrading to 0 with a fixed rate. \(k\):
\[A \xrightarrow{k1} 0, 0 \xrightarrow{k2} A\]Extends
pints.ForwardModel
,pints.toy.ToyModel
.- Parameters:
initial_molecule_count – The initial molecule count \(A(0)\).
- interpolate_mol_counts(time, mol_count, output_times)¶
Takes raw times and inputs and mol counts and outputs interpolated values at output_times
- n_outputs()¶
Returns the number of outputs this model has. The default is 1.
- n_parameters()¶
- simulate(parameters, times)¶
- simulate_raw(rates, max_time)¶
Returns raw times, mol counts when reactions occur.