WPG is required by:
:class:`SimExLite.SourceCalculators.GaussianSourceCalculator` |
:class:`SimExLite.PropagationCalculators.WPGPropagationCalculator` |
Clone the WPG repository wherever you like (e.g. /opt
)
cd /opt
git clone -b simex https://github.com/JunCEEE/WPG.git
build WPG in your SimExLite environment
cd WPG
make
Set WPG PATH by adding this to your .bashrc
or .zshrc
:
# If the path where you cloned WPG is opt
export PYTHONPATH=/opt/WPG:$PYTHONPATH
or adding these lines at the beginning of your python script:
import sys
sys.path.insert(0,"/opt/WPG")