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.1.tar.gz (13.2 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: uq_physicell-1.0.1.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.1.tar.gz
Algorithm Hash digest
SHA256 efb09466a01777a3ebbd6454ab5848d8a7071527d012d630b801aed369bf5c45
MD5 619f932e731970df1d59ce058ec81789
BLAKE2b-256 5321676cfcce201ba57b83f46bbf8bfcca415da39b44e1b2f845d07af97a8de5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for uq_physicell-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 cafd5759985f33355af825f04431a5d0e679f6f9a4a89eb08639afd919132ab7
MD5 8f0ba2b234f1fca17adbfbbb10324a7a
BLAKE2b-256 03b543641ee761962e004b60b9eb7866c2851c01dfc21d54b078606b512a768f

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