ecoli.processes.cell_division

Cell Division

class ecoli.processes.cell_division.Division(parameters=None)[source]

Bases: Step

Division Deriver
  • Uses dry mass threshold that can be set in config via division_threshold

  • Samples division threshold from normal distribution centered around what is expected for a medium when division_threshold == massDistribution

  • If flag d_period is set to true (default), mass thresholds are ignored and the same D period mechanism as wcEcoli is used.

defaults: Dict[str, Any]
{   'daughter_ids_function': <function daughter_phylogeny_id at 0x7fc27020ff60>,
    'seed': 0,
    'threshold': None}
name = 'ecoli-cell-division'
next_update(timestep, states)[source]
ports_schema()[source]
exception ecoli.processes.cell_division.DivisionDetected[source]

Bases: Exception

class ecoli.processes.cell_division.MarkDPeriod(parameters=None)[source]

Bases: Step

Set division flag after D period has elapsed

Parameters:

parameters (dict | None)

name = 'mark_d_period'
next_update(timestep, states)[source]
ports_schema()[source]
class ecoli.processes.cell_division.StopAfterDivision(parameters=None)[source]

Bases: Step

Detect division and raise an exception that must be caught.

Parameters:

parameters (dict | None)

name = 'stop-after-division'
next_update(timestep, states)[source]
ports_schema()[source]
ecoli.processes.cell_division.daughter_phylogeny_id(mother_id)[source]