mpacts.commands.misc. splitcapsule

In order to be able to use this module import it like this:

import mpacts.commands.misc.splitcapsule
#or assign it to a shorter name
import mpacts.commands.misc.splitcapsule as spl


class mpacts.commands.misc.splitcapsule.SplitCapsuleCommand(name, parent, pc, capsules, index_array, fixedlistcd, maxsize_mean, maxsize_std, growth_rate_map=None, keep_volume=False)

Bases: mpacts.core.command.PythonCommand

Command that split the capsules when their length exceed a limit randomly chosen from random Gaussian distribution.

  • pc – Particle container on which we act.
  • capsules – Sub-particle container containing the segments alone.
  • index_array – List of particles which need to be divided.
  • fixedlistcd – Fixed list contact detector which contains a list of segments.
  • maxsize_mean – Mean value of the maximal length which will be used for new generation.
  • maxsize_std – Standard deviation of the maximal length.
  • keep_volume – Keep volume of the cells constant after division
SplitCapsuleCommand(name, parent, **kwargs)