vivarium.compartments.static_lattice module

class vivarium.compartments.static_lattice.StaticLattice(config)[source]

Bases: vivarium.core.process.Generator

defaults = {'field': {'bounds': [10, 10], 'molecules': ['glc'], 'n_bins': [10, 10]}, 'multibody': {'agents': {}, 'bounds': [10, 10]}}
generate_processes(config=None)[source]
generate_topology(config=None)[source]
vivarium.compartments.static_lattice.get_static_lattice_config(config={})[source]
vivarium.compartments.static_lattice.test_static_lattice(config={'bounds': [25, 25], 'field': {'bounds': [25, 25], 'gradient': {'molecules': {'glc': {'base': 1.1, 'center': [0.0, 0.0]}}, 'type': 'exponential'}, 'molecules': ['glc'], 'n_bins': (25, 25)}, 'multibody': {'agents': {'0': {'boundary': {'angle': 0.936302102957151, 'length': 2, 'location': [17.806796591281987, 2.4398870701288597], 'mass': <Quantity(1339, 'femtogram')>, 'thrust': 0, 'torque': 0, 'volume': 1.308996938995747, 'width': 1}}}, 'bounds': [25, 25], 'jitter_force': 100.0}}, end_time=10)[source]