Skip to content

cellweave v0.2.0

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 01 Nov 16:47
· 5 commits to main since this release
377ba4c

A tissue that grows in a volume, and a spheroid in it that stops near the size measured spheroids reach, once its dead core breaks down and the medium of its well is still. Experimental.

One change is incompatible: a network file that still sets j_medium, j_self_base or j_self_from_growth is refused, since nothing ever read them (first item below).

  • Contact energies are not a network's. A network file's [mechanics] carried j_medium, j_self_base and j_self_from_growth, read into every cell and handed to nothing: the lattice has always priced a boundary by the kinds of the cells across it (chapter 1). They are removed from the example networks, and a network that sets them, or any other unknown key under [mechanics], is now refused with the key named. No run changes.
  • A tissue in a volume. A configuration's depth stacks slices: a tumour in a bath or around a vessel grows in three dimensions, cells dividing across planes, a vessel running through the box as a cylinder, the bath coming in from six faces, radii those of balls (chapter 26). A plane, one slice deep, runs exactly as it did: every example gives the same output, byte for byte. max_cells replaces the fixed ceiling of 2000 living cells.
  • Faster. The field is relaxed and the bath flooded only around the tissue, and in a volume the Monte Carlo step draws only there and the field is over-relaxed at its optimum: the spheroid's first 120 steps on one core take 11.5 seconds instead of 65, with the same result.
  • A dead core that breaks down. A configuration's debris_loss is the share of its volume a dead cell's debris loses each step, as in Greenspan's model of a spheroid: the living tissue closes in over it at the edge of the dead tissue, and gives as much up at its surface. sweeps_per_step sweeps the lattice several times a step, so that the tissue carries what the core loses out to its surface. examples/spheroid-3d.toml grows the spheroid in a volume with both, and scripts/compare-spheroids.py sets it against the measured spheroids as balls, in micrometres, at their end and at their pace (chapter 27). Without debris_loss and with one sweep a step, every run is the run it was.
  • A cycle that takes time. A configuration's [cycle] has each cell draw its cycle's duration at birth, log-normal around a median, grow through it from half of what its network asks for to all of it, and divide only once it has passed: a tissue grown in a volume no longer divides all at once every 20 steps, and a daughter no longer asks at birth for twice her volume. Left out, every run is the run it was.
  • Contact to the corners. A configuration's contact_order counts two pixels as touching across edges and corners as well as faces, for the contact energy, each contact weighted so that a boundary along an axis costs what it cost: what a boundary costs then depends far less on its direction, and a tissue in a volume rounds into a ball instead of squaring into a cube (chapter 27). Copies are still proposed across faces alone. Left at 1, every run is the run it was.
  • Fluid that drains. With a debris loss, medium the tissue closes in on every side, out of the bath's reach, is closed in by the living tissue around it, one layer a step, as the debris is: a core no longer hollows into a cavity that takes what it loses.
  • A waste that arrests. A configuration's [waste] has every living cell release a waste, Greenspan's inhibitor, that diffuses as oxygen does and that the bath washes away; each cell's network reads it as the input waste. examples/networks/ras-erk-waste.toml gives the arrest to a node p27 raised by HIF-1α and by the waste (chapter 27). Left out, every run is the run it was; a gained link still reads only the four earlier inputs.
  • A factor the dead release. A configuration's [necrotic_factor] has every dead pixel release a factor that diffuses and that the bath washes away, as Freyer found the necrosis of spheroids does, and each cell's network reads it as necrotic_factor. A new term, damaged_above, damages a node past a level of its source; examples/networks/ras-erk-necrotic.toml has the factor kill through BCL2. Left out, every run is the run it was.
  • A still medium. A configuration's [still_medium] has the bath's medium still, oxygen diffusing through it at its diffusion: the level next to a spheroid in a volume is then that of a still medium around a ball, lower the more the spheroid takes up, as measured at the surface of spheroids in culture (chapter 27). The spheroid in a volume runs in one, its diffusion set against the measured spheroids' end, and stops at 368 µm against their 348, its cores growing with size as theirs do, by half as much. Left out, the medium is held at the source's level up to the tissue, and every run is the run it was.
  • A volume in the viewer. A tissue grown in a volume is drawn as its voxels, cut open through the middle so that its core shows; C opens and closes the cut (chapter 26).
  • Legends on the animations. Every animation in the README says in its corner what its colours mean, and the README says they are sped up.
  • The spheroid in a volume, in the README. examples/spheroid-3d.toml, recorded in the viewer and cut open, from one ball of cells to its end.