Skip to content

The goal of this package is to perform uncertainty quantification across the entire input space of PhysiCell models (including parameters, initial conditions, and rules) using either a single desktop or high-throughput computing.

Notifications You must be signed in to change notification settings

heberlr/UQ_PhysiCell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

The goal of this package is to perform uncertainty quantification across the entire input space of PhysiCell models (including parameters, initial conditions, and rules) using either a single desktop or high-throughput computing.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages