SyMBac.cell

class SyMBac.cell.Cell(length, width, resolution, position, angle, space, dt, growth_rate_constant, max_length, max_length_mean, max_length_var, width_var, width_mean, parent=None, daughter=None, lysis_p=0, pinching_sep=0)[source]

A class defining the cell objects

length

Cell’s length

Type:

float

width

Cell’s width

Type:

float

resolution

Number of points defining cell’s geometry

Type:

int

position

x,y coords of cell centroid

Type:

(float, float)

angle

rotation in radians of cell (counterclockwise)

Type:

float

space

The pymunk space of the cell

Type:

pymunk.Space

dt

Timestep the cell experiences every iteration

Type:

float

growth_rate_constant

The cell grows by a function of dt*growth_rate_constant depending on its growth model

Type:

float

max_length

The maximum length a cell reaches before dividing

Type:

float

max_length_mean

should be the same as max_length for reasons unless doing advanced simulations

Type:

float

max_length_var

The variance defining a normal distribution around max_length

Type:

float

width_var

The variance defining a normal distribution around width

Type:

float

width_mean

For reasons should be set equal to width unless using advanced features

Type:

float