Open georgeoshardo opened 1 year ago
Hi Georgeos - there is a cell property "radius" (or "rad", not sure) that can be set in the same way as "length".
best Tim
On Thu, 20 Jul 2023 at 11:50, Georgeos Hardo @.***> wrote:
Hi CellModeller team!
Is there a way to change the cell width in simulations? I believe at the moment all cells are the same width.
— Reply to this email directly, view it on GitHub https://github.com/cellmodeller/CellModeller/issues/45, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABWAWAJOSBPH2D4V4BDDMKTXREEOVANCNFSM6AAAAAA2RHNZUI . You are receiving this because you are subscribed to this thread.Message ID: @.***>
Thank you, I will try setting it again, but if I remember from my previous attempts at working with this attribute, it is not technically possible to, say, have the daughter of a cell be a different length to its mother upon birth, correct?
You can set any cell properties of daughters in the "divide" function. I wouldn't recommend changing the total length or the width very much as this could generate some big overlaps between cells and thus large forces.
On Sun, 23 Jul 2023 at 01:35, Georgeos Hardo @.***> wrote:
Thank you, I will try setting it again, but if I remember from my previous attempts at working with this attribute, it is not technically possible to, say, have the daughter of a cell be a different length to its mother upon birth, correct?
— Reply to this email directly, view it on GitHub https://github.com/cellmodeller/CellModeller/issues/45#issuecomment-1646703145, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABWAWAKSROEKNVR4BJY4BFDXRRWTTANCNFSM6AAAAAA2RHNZUI . You are receiving this because you commented.Message ID: @.***>
Apologies for the late reply, I cannot find how to do this. No matter what I try, I cannot get cells to become wider within the simulation. Setting a new radius inside the divide function does not change the simulation output.
E.g
def divide(parent, d1, d2):
# Specify target cell size that triggers cell division
d1.targetVol = 3.5 + random.uniform(0.0,0.5)
d2.targetVol = 3.5 + random.uniform(0.0,0.5)
d1.radius = 1
d2.radius = 1
If I print the radius at the beginning of the divide check loop, it always resets back to 0.5.
Hi CellModeller team!
Is there a way to change the cell width in simulations? I believe at the moment all cells are the same width.