| Lattice Microbes 2.5
    This is for whole cell modeling | 
| Public Member Functions | |
| __init__ (self, name) | |
| addReaction (self, reactant, product, rate) | |
| setDefaultDiffusionRate (self, rate) | |
| setDiffusionRate (self, species, rate) | |
| getReactionCount (self) | |
| Public Attributes | |
| name = name | |
| list | reactions = [] | 
| float | defaultDiffusionRate = 0.0 | 
| dict | diffusionRate = {} | 
| Protected Member Functions | |
| _repr_html_ (self) | |
| Create a representation that is loadable in iPython. | |
A class that represents a type region of an RDME simulation.
Reactions may be specified that live within a region.  In addition
a specie's diffusion constant is region dependent and diffusion
between regions must be specified.
For example: cytosol, membrane, extracellular, nucleoid, etc.
Args:
    name:
        The name of the region (e.g. cytosol)
 | pyLM.RDME.RDMERegion.__init__ | ( | self, | |
| name ) | 
| 
 | protected | 
Create a representation that is loadable in iPython.
| pyLM.RDME.RDMERegion.addReaction | ( | self, | |
| reactant, | |||
| product, | |||
| rate ) | 
Adds a 0th, 1st or 2nd order reaction that can occur in the region
Reaction rates are specified as *stochastic* rates: i.e. in units of
:math:`1/\mathrm{s}`.
Args:
    reactant:
        A set of reactants either as a singleton or a list
    product:
        A set of products either as a singeton or a list
    rate:
        The *stochastic* rate of the reaction.
Returns:
    RDMERegion
 
| pyLM.RDME.RDMERegion.getReactionCount | ( | self | ) | 
Return the number of reactions defined in this region
Returns:
    Get the number of reactions in the region
 
| pyLM.RDME.RDMERegion.setDefaultDiffusionRate | ( | self, | |
| rate ) | 
Specifies the default diffusion rate of all particles in the region 
Args:
    rate:
        The rate of diffusion in um^2/s or um/s for 3D or 2D diffusion
Returns:
    RDMERegion
 
| pyLM.RDME.RDMERegion.setDiffusionRate | ( | self, | |
| species, | |||
| rate ) | 
Specify the diffusion rate for a particular particle type
Args:
    species:
        The particle type
    rate:
        The rate of diffusion in um^2/s or um/s for 3D or 2D diffusion
Returns:
    RDMERegion
 
| float pyLM.RDME.RDMERegion.defaultDiffusionRate = 0.0 | 
| dict pyLM.RDME.RDMERegion.diffusionRate = {} | 
| pyLM.RDME.RDMERegion.name = name | 
| pyLM.RDME.RDMERegion.reactions = [] |