- Install Anaconda
- Follow the following
- on Linux
pip install numpypulls 1.19.4 that was somewhere mentioned to create bugs with openpiv - note that in the example the
mastershould be replaced withremove_cappingornormalized_correlationor if the previous version needed, usepip install openpiv==0.22.3 - use
nb_condato be sure that the kernel you load in Jupyter istest_robustness. @alexlib I find this point sometimes confusing. - we also install
watermarkto keep the info about the setup in the Jupyter notebook, read here https://github.com/rasbt/watermark
conda create -n test_robustness python=3.8
conda activate test_robustness
conda install numpy
pip install -e git+https://github.com/openpiv/openpiv-python@master#egg=openpiv-python
conda install jupyterlab
conda install nb_conda
pip install watermark
jupyter lab
- In the Jupyter notebook always start with:
# %load_ext watermark # if it's a first time
%reload_ext watermark # else
%watermark -v -m -p numpy,openpiv -g -b