DimerStoch
PyCellChemistry documentation index
/Users/lidia/main/research/acbook/web/website/ac-home/pycellchem/pycellchem-2.0/src/DimerStoch.py

#---------------------------------------------------------------------------
#
# DimerStoch.py: an extended version of Dimer.py that allows the user to
# choose between stochastic or deterministic simulation algorithms
# (the default is a stochastic simulation using Gillespie SSA)
#
# A + B <--> A.B
#
# by Lidia Yamamoto, Belgium, August 2013
#
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
#
# Copyright (C) 2015 Lidia A. R. Yamamoto
# Contact: http://www.artificial-chemistries.org/
#
# This file is part of PyCellChemistry.
#
# PyCellChemistry is free software: you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# version 3, as published by the Free Software Foundation.
#
# PyCellChemistry is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with PyCellChemistry, see file COPYING. If not, see
# http://www.gnu.org/licenses/
#


Modules
numpy
sys


Classes
Dimerization


class Dimerization
Methods defined here:
__init__(self, stoch)
reversible dimerization, stochastic (stoch=True) or
deterministic (stoch=False)
run(self, finalvt=10.0, dt=0.1)
execute dimerization reactions, until simulation time finalvt is
reached; a plot line is generated every interval dt


Generated automatically by pydoc, July 10, 2015