uq-physicell


Nameuq-physicell JSON
Version 1.0.2 PyPI version JSON
download
home_pageNone
SummaryProject to perform uncertainty quantification of PhysiCell models
upload_time2024-10-09 15:00:40
maintainerNone
docs_urlNone
authorNone
requires_python>=3.8
licenseMIT
keywords physicell uncertainty quantification
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # 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
    - Description: Print information of models [physicell_model_1](examples/SampleModel.ini#l1) and [physicell_model_2](examples/SampleModel.ini#l18) as shown in the config file [examples/SampleModel.ini](examples/SampleModel.ini#l20), without running the PhysiCell simulation.
    - Code:
      ```
      python examples/ex1_print.py
      ```

2. Example 2: Running PhysiCell Simulations
    - Description: Run PhysiCell simulations of [physicell_model_2](examples/SampleModel.ini#l18)
    - 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](examples/SampleModel.ini#l20) model in the [examples/SampleModel.ini](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](examples/SampleModel.ini#l18) 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](examples/SampleModel.ini#l18)
    - 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](examples/SampleModel.ini#l18)
    - 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.

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "uq-physicell",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": null,
    "keywords": "PhysiCell, uncertainty quantification",
    "author": null,
    "author_email": "\"Heber L. Rocha\" <heberonly@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/c8/07/72d1774fe374a085136d76a0bc32385afc4102de5512e5c3022b478b6d70/uq_physicell-1.0.2.tar.gz",
    "platform": null,
    "description": "# Installation\nInstall the package using pip:\n```\npip install uq_physicell\n```\n\n# Examples\nHere are some examples to help you get started with using the package:\n\n1. Example 1: Basic Usage\n    - Description: Print information of models [physicell_model_1](examples/SampleModel.ini#l1) and [physicell_model_2](examples/SampleModel.ini#l18) as shown in the config file [examples/SampleModel.ini](examples/SampleModel.ini#l20), without running the PhysiCell simulation.\n    - Code:\n      ```\n      python examples/ex1_print.py\n      ```\n\n2. Example 2: Running PhysiCell Simulations\n    - Description: Run PhysiCell simulations of [physicell_model_2](examples/SampleModel.ini#l18)\n    - Step 1: Compile the virus-macrophage example in the PhysiCell folder.\n    - Code:\n      ```\n      make reset && make virus-macrophage-sample && make\n      ```\n    - Step 2: Change the path of the executable variable in [physicell_model_2](examples/SampleModel.ini#l20) model in the [examples/SampleModel.ini](examples/SampleModel.ini) file.\n    - Code:\n      ```\n      executable = [new path]\n      ```\n    - Step 3: run the simulations.\n    - Code:\n      ```\n      python examples/ex2_runModel.py\n      ```\n\n3. Example 3: Customizable Summary Function\n    - Description: This example illustrates how to run PhysiCell simulations of [physicell_model_2](examples/SampleModel.ini#l18) with a customizable summary function that generates population time series.\n    - Code:\n      ```\n      python examples/ex3_runModelCust.py\n      ```\n\n4. Example 4: Sensitivity Analysis as an unique task\n    - Requirements: install SALib \n    - Description: Run simulations to perfom sensitivity analysis (Sobol method)  [physicell_model_2](examples/SampleModel.ini#l18)\n    - Code:\n      ```\n      python examples/ex4_runSA_singleTask.py\n      ```\n    - After simulate all samples you can perform the analysis: ``python example/SA_ex4_ex5.py``\n\n5. Example 5: Sensitivity Analysis as parallel tasks using MPI\n    - Requirements: install SALib and mpi4py\n    - Description: Run simulations to perfom sensitivity analysis (Sobol method) of [physicell_model_2](examples/SampleModel.ini#l18)\n    - Code:\n      ```\n      mpiexec -n 2 python -m mpi4py examples/ex5_runSA_MPI.py\n      ```\n    - After simulate all samples you can perform the analysis: ``python example/SA_ex4_ex5.py``\n\nFeel free to explore these examples to understand the capabilities of the package and how to use it effectively.\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Project to perform uncertainty quantification of PhysiCell models",
    "version": "1.0.2",
    "project_urls": {
        "Homepage": "https://github.com/heberlr/UQ_PhysiCell"
    },
    "split_keywords": [
        "physicell",
        " uncertainty quantification"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "5fa1c4cdf17a6c549409ad3a50227c4b0d1a3ebefdfd7926581686cfbe6cad3a",
                "md5": "3a1a5c6427f290104520de7e82ed24db",
                "sha256": "068bcee535244aec76840aad854586f9a0babeb4ef1ca8cfbf16ad25f8087728"
            },
            "downloads": -1,
            "filename": "uq_physicell-1.0.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "3a1a5c6427f290104520de7e82ed24db",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 7184,
            "upload_time": "2024-10-09T15:00:40",
            "upload_time_iso_8601": "2024-10-09T15:00:40.087589Z",
            "url": "https://files.pythonhosted.org/packages/5f/a1/c4cdf17a6c549409ad3a50227c4b0d1a3ebefdfd7926581686cfbe6cad3a/uq_physicell-1.0.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c80772d1774fe374a085136d76a0bc32385afc4102de5512e5c3022b478b6d70",
                "md5": "94b7e0424a9be06fff42517d7878e0c7",
                "sha256": "215b7c0967f2e0c3069cdcde51407d518e418a451a7d5d87f61ff195ffdb68a0"
            },
            "downloads": -1,
            "filename": "uq_physicell-1.0.2.tar.gz",
            "has_sig": false,
            "md5_digest": "94b7e0424a9be06fff42517d7878e0c7",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 13173,
            "upload_time": "2024-10-09T15:00:40",
            "upload_time_iso_8601": "2024-10-09T15:00:40.905148Z",
            "url": "https://files.pythonhosted.org/packages/c8/07/72d1774fe374a085136d76a0bc32385afc4102de5512e5c3022b478b6d70/uq_physicell-1.0.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-10-09 15:00:40",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "heberlr",
    "github_project": "UQ_PhysiCell",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "uq-physicell"
}
        
Elapsed time: 0.33741s