Skip to content

Commit 84a53e1

Browse files
committed
Merge branch 'master'
Conflicts: openpiv/validation.py setup.py
2 parents cfd25e5 + fd49136 commit 84a53e1

45 files changed

Lines changed: 5352 additions & 1560 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,6 @@ jobs:
7878

7979
- uses: pypa/gh-action-pypi-publish@master
8080
with:
81-
user: __token__
81+
user: pypi-openpiv
8282
password: ${{ secrets.pypi_password }}
8383
# To test: repository_url: https://test.pypi.org/legacy/

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,7 @@ OpenPIV.egg-info
1515
.vscode/settings.json
1616
*.so
1717

18+
tmp.png
19+
openpiv/examples/notebooks/*.html
20+
openpiv/examples/notebooks/test_3d/
21+
Open_PIV_results_*

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
# OpenPIV
22
[![Build Status](https://travis-ci.org/OpenPIV/openpiv-python.svg?branch=master)](https://travis-ci.org/OpenPIV/openpiv-python)
33
![Build and upload to PyPI](https://github.com/OpenPIV/openpiv-python/workflows/Build%20and%20upload%20to%20PyPI/badge.svg)
4-
[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.4320056.svg)](https://doi.org/10.5281/zenodo.4320056)
4+
[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.4409178.svg)](https://doi.org/10.5281/zenodo.4409178)
5+
56

67

78
![PyPI](https://img.shields.io/pypi/v/openpiv)
@@ -15,7 +16,7 @@
1516

1617

1718
OpenPIV consists in a Python and Cython modules for scripting and executing the analysis of
18-
a set of PIV image pairs. In addition, a Qt graphical user interface is in
19+
a set of PIV image pairs. In addition, a Qt and Tk graphical user interfaces are in
1920
development, to ease the use for those users who don't have python skills.
2021

2122
## Warning
@@ -95,7 +96,8 @@ The OpenPIV documentation is available on the project web page at <http://openpi
9596
Copyright statement: `smoothn.py` is a Python version of `smoothn.m` originally created by D. Garcia [https://de.mathworks.com/matlabcentral/fileexchange/25634-smoothn], written by Prof. Lewis and available on Github [https://github.com/profLewis/geogg122/blob/master/Chapter5_Interpolation/python/smoothn.py]. We include a version of it in the `openpiv` folder for convenience and preservation. We are thankful to the original authors for releasing their work as an open source. OpenPIV license does not relate to this code. Please communicate with the authors regarding their license.
9697

9798
## How to cite this work
98-
OpenPIV/openpiv-python: [![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.4320056.svg)](https://doi.org/10.5281/zenodo.4320056)
99+
[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.4409178.svg)](https://doi.org/10.5281/zenodo.4409178)
100+
99101

100102

101103

openpiv/docs/src/developers.rst

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,19 +44,20 @@ Things OpenPIV currently needs, (in order of importance)
4444
* A good graphical user interface (in progress)
4545

4646

47-
How to test all the notebooks
47+
How to test all the notebooks::
4848
-----------------------------
4949

50+
conda create -n openpiv
51+
conda activate openpiv
52+
conda install -c conda-forge openpiv
5053
conda install ipykernel
51-
5254
python -m ipykernel install --user --name openpiv --display-name="openpiv"
53-
5455
jupyter nbconvert --to html --ExecutePreprocessor.kernel_name=openpiv --execute *.ipynb
5556
5657

5758
Then open the `openpiv/examples/notebooks` and check the HTML files. If one of those will fail, the error message will be in the command shell
5859

59-
If you need to install cv2
60+
If you need to install cv2::
6061
--------------------------
6162

6263
conda install -c conda-forge opencv

openpiv/examples/notebooks/PIV_3D_example.ipynb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@
130130
"name": "stderr",
131131
"output_type": "stream",
132132
"text": [
133-
"100%|██████████| 14/14 [00:00<00:00, 180.99it/s]\n"
133+
"100%|██████████| 14/14 [00:00<00:00, 145.38it/s]\n"
134134
]
135135
}
136136
],
@@ -446,7 +446,7 @@
446446
"name": "stderr",
447447
"output_type": "stream",
448448
"text": [
449-
"100%|██████████| 14/14 [01:12<00:00, 5.16s/it]\n"
449+
"100%|██████████| 14/14 [01:09<00:00, 4.99s/it]\n"
450450
]
451451
}
452452
],
@@ -625,7 +625,7 @@
625625
"name": "python",
626626
"nbconvert_exporter": "python",
627627
"pygments_lexer": "ipython3",
628-
"version": "3.8.3"
628+
"version": "3.8.5"
629629
}
630630
},
631631
"nbformat": 4,

openpiv/examples/notebooks/all_test_cases_sample.ipynb

Lines changed: 32 additions & 164 deletions
Large diffs are not rendered by default.

openpiv/examples/notebooks/analyse_movie.ipynb

Lines changed: 129 additions & 20 deletions
Large diffs are not rendered by default.

openpiv/examples/notebooks/case_B_windef_small_window.ipynb

Lines changed: 159 additions & 103 deletions
Large diffs are not rendered by default.

openpiv/examples/notebooks/ensemble_correlation.ipynb

Lines changed: 12 additions & 12 deletions
Large diffs are not rendered by default.

openpiv/examples/notebooks/example_image_mask.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"cell_type": "markdown",
55
"metadata": {},
66
"source": [
7-
"# compare the OpenPIV Python with PIVLab\n"
7+
"# use image mask"
88
]
99
},
1010
{

0 commit comments

Comments
 (0)