vivarium.processes.tree_mass module

class vivarium.processes.tree_mass.TreeMass(parameters=None)[source]

Bases: vivarium.core.process.Deriver

Derives and sets total mass from individual molecular counts that have a mass schema in their stores .

defaults = {'from_path': ('..', '..'), 'initial_mass': <Quantity(0, 'femtogram')>}
name = 'mass_deriver'
next_update(timestep, states)[source]
ports_schema()[source]
vivarium.processes.tree_mass.calculate_mass(value, path, node)[source]