MultiCell logo MultiCell

a platform for high-detail morphological simulations of motile cell crowds

🚀Fast

1000-10,0000x faster on GPU than serial cellular Potts models

⚙️Usable

simple API integrated with scientific Python ecosystem

🦠Motility Models

several validated cell motility models, from intracellular dynamics to ABM derived models

> pip install multicell
                import multicell as mc
sim = mc.Cpm3d(dimension=256, 
    nr_of_types=2, temperature=20)

for x in range(0, dimension, 10):
    for y in range(0, dimension, 10):
        for z in range(0, dimension, 10):
            # add cell with type 1
            sim.add_cell(x,y,z, 1)

sim.set_constraints(cell_type = 1, 
    target_area = 150, lambda_area = 25)
sim.set_constraints(cell_type = 1, 
    lambda_perimeter = .2, target_perimeter = 1500)
sim.set_constraints(cell_type = 1, other_cell_type = 1, 
    adhesion = 10)
sim.set_constraints(cell_type = 0, other_cell_type = 1, 
    adhesion = 10)
                
built with ❤️  by the Computational Immunology Group of Radboud University