seapipy.example_tissues.RandomCellTypes

class seapipy.example_tissues.RandomCellTypes(parameters)

Bases: ExampleTissues

Child class to create a tissue with a random assignment of density to each membrane

Parameters:

parameters – Dictionary with all the relevant parameters of the system

create_lattice()

Create a lattice with the initial Voronoi tessellation

Returns:

Lattice class object with the initial Voronoi tessellation

Return type:

lattice_class.Lattice

create_se_file()

Create the initial Surface Evolver clean slate to start writing to it

Returns:

Surface Evolver object that will be written to disk

Return type:

surface_evolver.SurfaceEvolver

evolve()

Add the initial evolution steps to the Surface Evolver slate

Returns:

None

get_initial_densities()

Create dictionary of cell volumes and membrane densities to be used in the initial Surface Evolver simulation using the parameters provided to the class

Returns:

cell volumes and membrane densities

get_new_densities()

Create the densities dictionary using a random assignment of values. It can be controlled using the parameters dictionary.

Returns:

Dictionary with the new densities to be assigned to the membranes

Return type:

dict

save_many_steps(max_steps: int = 50, step: int = 50)

Add to the Surface Evolver slate saving loop max_steps times every step steps

Parameters:
  • max_steps (int) – Number of saves to generate

  • step (int) – Evolution steps between savings

Returns:

None