Skip to content

Latest commit

 

History

History
40 lines (26 loc) · 1020 Bytes

WPG.rst

File metadata and controls

40 lines (26 loc) · 1020 Bytes

WPG

WPG is required by:

:class:`SimExLite.SourceCalculators.GaussianSourceCalculator`
:class:`SimExLite.PropagationCalculators.WPGPropagationCalculator`

Install WPG

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")