Skip to main content

Project to perform uncertainty quantification of PhysiCell models

Project description

Installation

Install the package using pip:

pip install uq_physicell

Examples

Here are some examples to help you get started with using the package:

  1. Example 1: Basic Usage

  2. Example 2: Running PhysiCell Simulations

    • Description: Run PhysiCell simulations of physicell_model_2
    • Step 1: Compile the virus-macrophage example in the PhysiCell folder.
    • Code:
      make reset && make virus-macrophage-sample && make
      
    • Step 2: Change the path of the executable variable in physicell_model_2 model in the examples/SampleModel.ini file.
    • Code:
      executable = [new path]
      
    • Step 3: run the simulations.
    • Code:
      python examples/ex2_runModel.py
      
  3. Example 3: Customizable Summary Function

    • Description: This example illustrates how to run PhysiCell simulations of physicell_model_2 with a customizable summary function that generates population time series.
    • Code:
      python examples/ex3_runModelCust.py
      
  4. Example 4: Sensitivity Analysis as an unique task

    • Requirements: install SALib
    • Description: Run simulations to perfom sensitivity analysis (Sobol method) physicell_model_2
    • Code:
      python examples/ex4_runSA_singleTask.py
      
    • After simulate all samples you can perform the analysis: python example/SA_ex4_ex5.py
  5. Example 5: Sensitivity Analysis as parallel tasks using MPI

    • Requirements: install SALib and mpi4py
    • Description: Run simulations to perfom sensitivity analysis (Sobol method) of physicell_model_2
    • Code:
      mpiexec -n 2 python -m mpi4py examples/ex5_runSA_MPI.py
      
    • After simulate all samples you can perform the analysis: python example/SA_ex4_ex5.py

Feel free to explore these examples to understand the capabilities of the package and how to use it effectively.

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

uq_physicell-1.0.2.tar.gz (13.2 kB view details)

Uploaded Source

Built Distribution

uq_physicell-1.0.2-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

Details for the file uq_physicell-1.0.2.tar.gz.

File metadata

  • Download URL: uq_physicell-1.0.2.tar.gz
  • Upload date:
  • Size: 13.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.6

File hashes

Hashes for uq_physicell-1.0.2.tar.gz
Algorithm Hash digest
SHA256 215b7c0967f2e0c3069cdcde51407d518e418a451a7d5d87f61ff195ffdb68a0
MD5 94b7e0424a9be06fff42517d7878e0c7
BLAKE2b-256 c80772d1774fe374a085136d76a0bc32385afc4102de5512e5c3022b478b6d70

See more details on using hashes here.

File details

Details for the file uq_physicell-1.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for uq_physicell-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 068bcee535244aec76840aad854586f9a0babeb4ef1ca8cfbf16ad25f8087728
MD5 3a1a5c6427f290104520de7e82ed24db
BLAKE2b-256 5fa1c4cdf17a6c549409ad3a50227c4b0d1a3ebefdfd7926581686cfbe6cad3a

See more details on using hashes here.

Supported by

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