UNMAINTAINED
READ THE COMPLETE FILE BEFORE INSTALLATION. AT LEAST READ THE CAUTION SECTION THOROUGHLY
INSTALLATION SHOULD HAPPEN LOCALLY FOR THE USER. DO NOT PROVIDE ROOT/ADMINISTRATIVE PRIVILEGES (OTHER THAN PYTHON INSTALLATION)
Use pip
method as described below.
Download and extract git repository. Navigate to working directory
Run file PathPandem.exe.
This executable file cannot be copied to any another location, as its dependencies are packed in the same folder.
Use pip
method as described below.
Use generic method
- Download and unzip the git repository.
- Using git.
git clone https://github.com/pradyparanjpe/PathPandem
- Confirm pre-requisites.
- In Command Line/Shell, navigate to the repository folder and run
python bin/PathPandem
- Python3.6 or higher
- Numpy >= 1.18
- Matplotlib >= 3.2.1
- Gooey >= 1.0.3
1 can be installed from official source;
further, 2, 3, 4 can be installed by command pip install <module>
.
- Install python3 from official website
- For Windows, enable "Add to PATH environment variable" during installation. (Recommended) install from Windows Store.
- This may require Root/Administrative privileges.
- Install PathPandem by typing in CommandPrompt/ Shell:
pip install --user PathPandem
- Run by typing in CommandPrompt/ Shell:
python -m "PathPandem"
On Unix-like systems, the file bin/PathPandem
is executable.
- In CommandPrompt/Shell, type
pip uninstall PathPandem
- If not needed, remove python [like any regular program]
- Delete repository folder
- If not needed, remove python [like any regular program]
- Delete folder
- In CommandPrompt/Shell, type
pip install --upgrade PathPandem
- In CommandPrompt/Shell, navigate inside the repo folder
- Type
git pull
- Consider the option of deleting the folder and installation via
pip
orgit
- If you still insist on EXE, delete the previous folder and download updated folder from git repository.
Back-up files before deleting the previous version. Recurrent downloads may consume a lot of Internet-Data.
- Python2's end-of-life was 2019-12-31.
- If
python
meanspython2
on an operating system, most commonly due to an earlier-installedpython2
, try migrating topython3
(recommended), or if you understand what you are doing, installpython3
alongside and run all commands with explicit mention of python3:python3
,pip3
, etc.
- If
- wxPython currently fails installation via
pip
, [at least] on Linux.- Install it using a package-manager (dnf, pacman, apt[, brew, chocolate,] etc) or manually before
pip
tries to install Gooey`.
- Install it using a package-manager (dnf, pacman, apt[, brew, chocolate,] etc) or manually before
- Green: No restrictions on movement.
- Red: Lockdown Imposed.
- Blue: Drug discovered.
- Cyan: Vaccine discovered.
- Grey: Red + Cyan.
- Magenta: Red + Blue.
- (Any other standard RGB combinations).
- Population more than 10000 may stall the system.
- Tested only on Linux running from source-code.
- True numbers are plotted. However in reality, infection manifests symptoms after an initial lag of 1-3 days and test results appear further later by 1-2 days. Hence, graph trends need be imagined as having shifted suitably.
- Visualization is recommended only with very small population size.
- Although Infection may appear to exhaust in small sized, limited population; in reality, due to birth of new individuals, and in a very large population, the pathogen persists around at extemely low density.
- With small population size, random fluctuations become impactful. Multiple runs with same parameters are recommended.
- The GUI only edits the blanket population behaviour.
- A heterogenous population can be composed using basic Python scripting in the
spread_simul.py
to construct heterogenously behaving population.
- Replace unimodal movement of people around their home to bimodal movement between home and workplace.
- Parallelize numpy matrix
ufuncs
if possible. - Include asymptomatic patients/carriers. Limit movement of serious cases [although this won't have a visible effect for diseases with majority of cases being mild].
- Animation, saved as mp4 for review
- Herd immunity starts reducing viral presence in community after viral steady state. i.e. plot of Active patients flattens. This happens when [1 - (1/R_{0})] fraction of the community becomes resistant. (Through vaccination or exposure)
- Medicine development is fairly a rare event given the rightful stringency involved in testing.