Skip to main content

A versatile 3D vertex model for modeling tissue and cell mechanics, particularly for tissue repair simulations.

Project description

logo.png

DOI Coverage Status PyPI Python Version tests codecov

pyVertexModel is versatile 3D vertex model to model tissue and cell mechanics, in particular, regarding tissue repair.

Please, to ensure you use a polished version, use the 'paper' version/branch: https://github.com/Pablo1990/pyVertexModel/tree/paper

Environment

conda create -n pyVertexModel python=3.9
conda activate pyVertexModel
pip install -r requirements.txt

Usage

The first time you run the code, you need to compile the cython code. To do so, run the following commands:

python setup.py build_ext --inplace

To run the code, you can use the following command:

python main.py

To run the tests, we use 'tox':

tox

Changing the parameters

You can change the parameters of the model in the parameters/set.py file. At the moment, you should change it under the 'wing_disc()' function.

Each simulation will be saved in a different folder in the results directory. The name of the folder will be the date and time of the simulation.

Help

For any issues with the code, you can put an issue in the repository. For other matters, you can contact Pablo Vicente Munuera (p.munuera@ucl.ac.uk).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyvertexmodel-1.0.7.tar.gz (23.0 MB view details)

Uploaded Source

File details

Details for the file pyvertexmodel-1.0.7.tar.gz.

File metadata

  • Download URL: pyvertexmodel-1.0.7.tar.gz
  • Upload date:
  • Size: 23.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for pyvertexmodel-1.0.7.tar.gz
Algorithm Hash digest
SHA256 c412143693d58713d5478c160754543958c087513b0d1e8fd52ed1520fdbd65d
MD5 fd99fd3bdcab077106630d56eae5f8ba
BLAKE2b-256 b8ac5921f25261c7e4abd2d38777ab1d97661b3e8d16f12be6cc0b8399332e5f

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyvertexmodel-1.0.7.tar.gz:

Publisher: python-publish.yml on Pablo1990/pyVertexModel

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page