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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for uq_physicell-1.0.3.tar.gz
Algorithm Hash digest
SHA256 4fb390e95bbe062904cb484dfd85ea032fcade9c796864741b9520d1862ef75f
MD5 88baff8dd4bf0d9917f8b8bc50a4228a
BLAKE2b-256 5108fb4bc2c281ea7659738aad57aca10ceeaf822841e9763e9c3aaa6740c2d2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: uq_physicell-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 7.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.3

File hashes

Hashes for uq_physicell-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 bb279a82cc312707d306ac79aa438da0dc43fbbd3e67e85d5c6df44b9bff33ac
MD5 5cb38348cbee294662ff2bc95b455333
BLAKE2b-256 0bc300e5853bb61e5435f618b5c78cc6c209a6e2139183243dcd8cfecc5f0c9a

See more details on using hashes here.

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