ecoli.processes.division_detector

class ecoli.processes.division_detector.DivisionDetector(config)[source]

Bases: Step

Calculates division threshold for inner simulation in EngineProcess. Upon reaching threshold, sets a flag through the division_trigger port that can be detected via a tunnel and used to initiate division.

By default, we forgo the dry mass threshold in favor of a boolean threshold set by the MarkDPeriod Step in ecoli.processes.cell_division. Users can revert to the mass threshold by setting d_period to False in their config json.

defaults: Dict[str, Any]
{   'chromosome_path': None,
    'division_mass_multiplier': 1,
    'division_threshold': None,
    'division_variable': None,
    'dry_mass_inc_dict': None}
name = 'division-detector'
next_update(timestep, states)[source]
ports_schema()[source]