Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
479 commits
Select commit Hold shift + click to select a range
587336a
Fix bug in replace_nan_f().
ericyang125 Jul 13, 2022
c727329
Remove Cython requirement. Add pytest-regressions requirement.
ericyang125 Jul 13, 2022
d3f753b
Fix bug in gpu_remove_nan_f.
ericyang125 Jul 14, 2022
b04f277
Refactor size to shape.
ericyang125 Jul 14, 2022
e4cfed6
Refactor ordering of functions. Refactor ordering of function argumen…
ericyang125 Jul 14, 2022
9d941c1
Add test module for gpu_smoothn.
ericyang125 Jul 14, 2022
8cc07cf
Refactor names for array to be consistent within modules. Add negativ…
ericyang125 Jul 15, 2022
e6e622d
Update README.
ericyang125 Jul 15, 2022
6eecaee
Change offset argument to be positive in flip_frequency_real.
ericyang125 Jul 15, 2022
61e5508
added simple_multiplass to windef, 0.24.2
alexlib Jul 23, 2022
05b557a
added the option for overlap
alexlib Jul 23, 2022
991d83a
Merge pull request #247 from alexlib/simple_windef
alexlib Jul 23, 2022
87cae27
Update meta.yaml
alexlib Jul 23, 2022
5e9f63b
Update testing.yml
alexlib Jul 23, 2022
1234f3b
Update testing.yml
alexlib Jul 23, 2022
0bc247e
Update meta.yaml
alexlib Jul 23, 2022
a070ac0
Simplify logic switching between deforming and non-deforming window s…
ericyang125 Jul 29, 2022
1a30650
Add masking to interpolation kernel. Simplify logic in window slice a…
ericyang125 Jul 30, 2022
969a523
Pass mask arguments to interpolation methods in main function.
ericyang125 Jul 31, 2022
a6a6351
Update advanced tutorial.
ericyang125 Aug 2, 2022
e9d62ce
Pass mask arguments to interpolation methods in main function.
ericyang125 Aug 2, 2022
a350d89
Bump actions/setup-python from 4.0.0 to 4.2.0
dependabot[bot] Aug 3, 2022
b3bfc55
Clean dependencies
beenje Aug 3, 2022
56ebb85
Clean local conda recipe
beenje Aug 3, 2022
a33120e
Bump version number
beenje Aug 3, 2022
52c961c
Implement object-oriented validation. Use new namespace for imported …
ericyang125 Aug 4, 2022
17a6949
Fix divide-by-zero cases.
ericyang125 Aug 4, 2022
a4c42f8
Refactor init_geometry() into smaller methods.
ericyang125 Aug 5, 2022
5df8e11
Add option to center vector field on image.
ericyang125 Aug 8, 2022
123a09c
Refactor residual logging to be non-static method.
ericyang125 Aug 15, 2022
ad3c2e2
Invert inequality sign in local validation to be consistent with the …
ericyang125 Aug 15, 2022
6fc89d7
Fix bug in offset parameter in generate_array().
ericyang125 Aug 15, 2022
e0b8b9e
Remove switch cases from computation kernel computing mean velocity. …
ericyang125 Aug 16, 2022
e662f87
Check that validation tolerances are greater than zero. Store validat…
ericyang125 Aug 16, 2022
e09d25b
Refactor median kernel using device-side function. Remove switch case…
ericyang125 Aug 16, 2022
2b686e3
Refactor RMS kernel using device-side function.
ericyang125 Aug 17, 2022
d7fb628
Refactor arguments of correlation class to keyword arguments. Move ff…
ericyang125 Aug 17, 2022
03005f6
Add test module for gpu_validation.py.
ericyang125 Aug 18, 2022
d99872e
Add test module for gpu_validation.py.
ericyang125 Aug 18, 2022
34d5c28
Refactor the lists of field shapes window sizes, spacings and masks i…
ericyang125 Aug 23, 2022
2303266
Edit docstrings to contain array dimensions. Simplify logic in gpu_in…
ericyang125 Aug 25, 2022
f2b7d42
Update TODO.md.
ericyang125 Aug 30, 2022
0e0e9f7
Consolidate integration tests in test_gpu_smoothn.py. Use '!' rather …
ericyang125 Aug 30, 2022
2bc6974
Merge pull request #249 from beenje/clean-dependencies
alexlib Sep 6, 2022
e0bd491
Merge pull request #248 from OpenPIV/dependabot/github_actions/action…
alexlib Sep 6, 2022
163159a
Decouple finding peak index and getting peak max height.
ericyang125 Sep 19, 2022
ee65c6d
Fix bug in centroid sub-pixel estimation.
ericyang125 Sep 19, 2022
5d03bb6
Fix bug in peak masking kernel.
ericyang125 Sep 20, 2022
3ffb081
Bump actions/checkout from 2 to 3
dependabot[bot] Sep 21, 2022
6b347b0
Merge pull request #251 from OpenPIV/dependabot/github_actions/action…
alexlib Sep 21, 2022
4ae3486
Fixed minor bug
ErichZimmer Sep 26, 2022
aa9d3da
Fixed function import bug
ErichZimmer Sep 26, 2022
efd30c8
Merge pull request #252 from ErichZimmer/master
alexlib Sep 26, 2022
1b8832d
Add global variable to control block size of GPU kernel. Set 64 as th…
ericyang125 Sep 27, 2022
4350491
fixing broken 3D PIV tutorial link
tsnowak Oct 4, 2022
82dfb41
Merge pull request #253 from tsnowak/master
alexlib Oct 5, 2022
6f6454a
Update piv.py
alexlib Oct 6, 2022
c95abbe
Merge pull request #254 from OpenPIV/alexlib-simple_piv_s2n_patch
alexlib Oct 6, 2022
b1cb21b
Merge pull request #255 from OpenPIV/master
alexlib Oct 7, 2022
7246d29
Merge pull request #256 from OpenPIV/alexlib-simple_piv_s2n_patch
alexlib Oct 10, 2022
5ab5880
added x,y,u,v = tools.transform_coordinates(x,y,u,v)
alexlib Oct 10, 2022
f0f642f
Bump actions/setup-python from 4.2.0 to 4.3.0
dependabot[bot] Oct 11, 2022
9d4ac35
Merge pull request #259 from OpenPIV/dependabot/github_actions/action…
alexlib Oct 12, 2022
a278181
small code improvements in preprocess, opened prepare_images()
alexlib Oct 16, 2022
0f0a2f7
Settings is now a dataclass
alexlib Oct 16, 2022
7630808
updated filters with typing
alexlib Oct 16, 2022
529d49c
updated all paths to pathlib.Path
alexlib Oct 16, 2022
1e346d5
updated tests
alexlib Oct 16, 2022
6caedae
updated tutorials
alexlib Oct 16, 2022
57f5c59
trying to figure out what masks we use
alexlib Oct 17, 2022
56fee07
mask_coords were missing
alexlib Oct 17, 2022
de6ec9c
tests fail, but validation and masking is simplified
alexlib Oct 17, 2022
843a4b9
tested validation, cleaned the code added typing
alexlib Oct 18, 2022
e19c603
suggest to modify peak2peak condition
alexlib Oct 18, 2022
4c23fdf
suggest new method to replace_outliers with masked_arrays
alexlib Oct 18, 2022
4501959
Merge branch 'replace_outliers_masked_arrays' into improve_masking
alexlib Oct 18, 2022
0d0e6ac
Merge branch 'peak2peak_fix' into improve_masking
alexlib Oct 18, 2022
41762aa
suggest new method to replace_outliers with masked_arrays
alexlib Oct 18, 2022
e1383ba
Merge branch 'replace_outliers_masked_arrays' into improve_masking
alexlib Oct 18, 2022
7820d96
fixing small mismatches, removed print
alexlib Oct 18, 2022
ff95f6b
removed print
alexlib Oct 18, 2022
fbf90fe
strange lines
alexlib Oct 18, 2022
7f156b9
added importlib_resources for earlier pythons
alexlib Oct 18, 2022
5819b6c
added importlib_resources, fixed tutorials and docs notebooks with th…
alexlib Oct 19, 2022
4205ba3
updated all the tutorials, created masking.ipynb, run tests, run docs
alexlib Oct 20, 2022
aed127b
fixed the grid_mask bug in replace_outliers
alexlib Oct 21, 2022
af1bf02
added rectangular window test, single pass
alexlib Oct 21, 2022
50bbd04
updated rectangular window test
alexlib Oct 21, 2022
f2ce2ac
this plot after sig2noise is broken
alexlib Oct 21, 2022
02f42a7
fixed my own bug
alexlib Oct 21, 2022
0f365d9
Merge pull request #257 from OpenPIV/alexlib-patch-4
alexlib Oct 21, 2022
3d7c1b3
Merge pull request #32 from OpenPIV/master
alexlib Oct 25, 2022
1da37e0
added importlib_resources, ignored png
alexlib Oct 30, 2022
b8c7177
in validation all masks renamed to flags
alexlib Oct 30, 2022
ebb3827
unnecessary png is removed
alexlib Oct 30, 2022
0cc53f7
fixing the flags
alexlib Oct 30, 2022
c54eab6
version 0.24.4c is with flags, added to the masks
alexlib Oct 30, 2022
1a518da
updated plot with the mask and invalid flags
alexlib Oct 31, 2022
30260ba
Update windef.py
alexlib Nov 1, 2022
d2fcd9b
updated masking using scipy.ndimage.map_coordinates
alexlib Nov 3, 2022
9140d27
scipy.ndimage.map_coordinates
alexlib Nov 3, 2022
da862d6
updated grid_mask
alexlib Nov 3, 2022
d78655d
updated save to flags, then mask=None
alexlib Nov 3, 2022
d16327c
obsolete files
alexlib Nov 4, 2022
660003b
ax[i,j]
alexlib Nov 4, 2022
6859e6d
masked print, removed double path in prepare_images
alexlib Nov 7, 2022
842ec6a
Scale per second instead of per frame in windef
hifabian Nov 8, 2022
18d8414
Write output using scientific notation
hifabian Nov 8, 2022
baae66d
Merge pull request #266 from hifabian/master
alexlib Nov 8, 2022
24cc286
Update smoothn.py
alexlib Nov 17, 2022
7d81195
Merge branch 'master' into master
alexlib Nov 18, 2022
2076c49
Merge pull request #33 from OpenPIV/master
alexlib Nov 18, 2022
506052f
Delete openpiv-python-masking.ipynb
alexlib Nov 18, 2022
acdb542
Delete particle image 1.bmp
alexlib Nov 18, 2022
85b9942
Delete particle image 2.bmp
alexlib Nov 18, 2022
394b87e
Delete mask.bmp
alexlib Nov 18, 2022
f4b6fc7
Merge branch 'OpenPIV:master' into master
alexlib Nov 18, 2022
fd769d6
Merge pull request #267 from alexlib/master
alexlib Nov 18, 2022
7cf7f2b
in simplepass settings are just optional
alexlib Nov 22, 2022
dd493b2
removed obsolete windows input from simplepass, settings is what's de…
alexlib Nov 22, 2022
60cf9ed
Update test_windef.py
alexlib Nov 22, 2022
0328ad0
no changes. checked that it's an updated version
alexlib Nov 22, 2022
19c8e4a
Merge pull request #271 from alexlib/master
alexlib Nov 22, 2022
3b162c0
ensure that imageio is updated
alexlib Nov 22, 2022
36a5df9
Write output using scientific notation
hifabian Nov 8, 2022
24cafb1
return to scientific notation tools.py
alexlib Nov 22, 2022
af34cff
empty space
alexlib Nov 22, 2022
2a5b1ae
Merge pull request #272 from alexlib/master
alexlib Nov 22, 2022
52db28d
windef no has settings.fmt that can be changed to save different formats
alexlib Nov 23, 2022
01098d0
Fix for #264
ErichZimmer Nov 25, 2022
ff7a88e
Merge pull request #273 from alexlib/master
alexlib Nov 25, 2022
f6a5521
Merge branch 'OpenPIV:master' into master
ErichZimmer Nov 25, 2022
9254aa7
Replace numpy roll with scipy shift
ErichZimmer Nov 25, 2022
cd2fa4b
Removed .real and renamed shift to shift_img
ErichZimmer Nov 25, 2022
d4f8216
Merge pull request #275 from ErichZimmer/master
alexlib Nov 25, 2022
a4577c4
Update testing.yml
alexlib Nov 25, 2022
3749b36
Refactor variable names to eliminate encoding of type, except for dev…
ericyang125 Dec 1, 2022
1269c28
Refactor variable names to eliminate encoding of type, except for dev…
ericyang125 Dec 1, 2022
7706549
bump to 0.25.0
alexlib Dec 5, 2022
f956470
Merge pull request #279 from alexlib/master
alexlib Dec 5, 2022
752fc5a
Add functions to generate array using center/width arguments.
ericyang125 Dec 6, 2022
5b171e9
Refactor variables names to omit device/host encoding.
ericyang125 Dec 6, 2022
edd5a8e
Support both float and int types for array inputs to gpu_scalr_mod an…
ericyang125 Dec 6, 2022
83e3696
Refactor variable names to not encode host/device information.
ericyang125 Dec 6, 2022
07ec620
Refactor variable names to not encode host/device information.
ericyang125 Dec 6, 2022
25a577a
Refactor variable names to not encode host/device information. Update…
ericyang125 Dec 7, 2022
e5b7159
Add return_array parameter to get_mask() in PIVFieldGPU. Refactor mas…
ericyang125 Dec 7, 2022
66c8b66
Update README.md
alexlib Dec 7, 2022
a4fd919
Update README.md
alexlib Dec 7, 2022
0179347
Simplify logic for checking arrays.
ericyang125 Dec 8, 2022
71b68d7
Refactor logic generating frame_mask and piv_fields out of init method.
ericyang125 Dec 8, 2022
9ba9264
Refactor logic of _check_arrays() into smaller functions.
ericyang125 Dec 9, 2022
5f549fe
Update docstrings. Refactor main class to avoid using **kwargs for in…
ericyang125 Dec 9, 2022
59dd116
Refactor logging of info into their own functions.
ericyang125 Dec 14, 2022
a86a6a7
Update installation_instruction.rst
alexlib Dec 19, 2022
4888cc9
Merge pull request #282 from alexlib/master
alexlib Dec 19, 2022
9cda50d
Update test_process.py
alexlib Dec 23, 2022
2f471b3
Merge pull request #284 from alexlib/master
alexlib Dec 23, 2022
ac5a319
Bump actions/setup-python from 4.3.0 to 4.5.0
dependabot[bot] Jan 13, 2023
538c698
Resolve merge conflict
ErichZimmer Feb 16, 2023
20e3c1b
Merge pull request #285 from OpenPIV/dependabot/github_actions/action…
alexlib Feb 16, 2023
5f65455
Merge pull request #276 from ErichZimmer/Replace_np.rolls
alexlib Feb 16, 2023
696f6ed
fixed the bug shift as shift_img
alexlib Mar 2, 2023
e3591a2
Merge pull request #291 from alexlib/master
alexlib Mar 2, 2023
8c90e36
Update testing.yml
alexlib Mar 2, 2023
3374059
Update testing.yml
alexlib Mar 2, 2023
5557b43
Update build.yml
alexlib Mar 2, 2023
97fe900
replace deprecated/removed np.int with int
dnowacki-usgs Mar 14, 2023
49fc255
Merge pull request #292 from dnowacki-usgs/fixint
alexlib Mar 14, 2023
909b19f
Append new tests.
ericyang125 Apr 5, 2023
a940b1c
Validate user inputs using descriptors.
ericyang125 Jun 3, 2023
b61e6d1
Create .readthedocs.yml
alexlib Jun 14, 2023
61acfd1
Rename .readthedocs.yml to .readthedocs.yaml
alexlib Jun 14, 2023
cdb6e52
Update .readthedocs.yaml
alexlib Jun 28, 2023
c5cda7d
Update .readthedocs.yaml
alexlib Jun 28, 2023
ad299e6
Update .readthedocs.yaml
alexlib Jun 28, 2023
e72c439
Update .readthedocs.yaml
alexlib Jun 28, 2023
50e5b4e
Reformat.
ericyang125 Jul 15, 2023
6b8f597
Fix type validation.
ericyang125 Jul 19, 2023
589ec7d
Refactor unit tests.
ericyang125 Sep 3, 2023
bf29e7e
Refactor unit tests. Refactor fixtures. Fix bugs.
ericyang125 Sep 5, 2023
1f66130
updated test_tools for different patterns
alexlib Oct 1, 2023
4143b14
fixed the bug in pattern_b
alexlib Oct 1, 2023
097d6e5
Merge pull request #302 from alexlib/master
alexlib Oct 1, 2023
f1b19a6
bump to 0.25.1
alexlib Oct 1, 2023
151592e
Merge pull request #303 from alexlib/master
alexlib Oct 1, 2023
e83981d
improved MANIFEST for smaller twine packages
alexlib Oct 1, 2023
d0f204c
Merge pull request #304 from alexlib/master
alexlib Oct 1, 2023
aaa3a18
Bump actions/checkout from 3 to 4
dependabot[bot] Oct 2, 2023
0b72751
Merge pull request #305 from OpenPIV/dependabot/github_actions/action…
alexlib Oct 2, 2023
f75c716
replacing pkg_resources by importlib_resources
alexlib Oct 13, 2023
f5ec591
Merge pull request #307 from alexlib/master
alexlib Oct 13, 2023
bf8dbb5
another place with pkg_resources
alexlib Oct 13, 2023
f23a541
Merge pull request #308 from alexlib/master
alexlib Oct 13, 2023
376576c
Add integration tests.
ericyang125 Oct 29, 2023
fe84cc5
Remove redundant array fixtures.
ericyang125 Nov 2, 2023
36791b3
Separate regression tests. Test gpu_validation parameters.
ericyang125 Nov 4, 2023
d292c66
Separate regression tests. Test gpu_process parameters.
ericyang125 Nov 8, 2023
ecddb22
Rename s2n_ratio variables and arguments. Fix error in s2n_ratio comp…
ericyang125 Nov 9, 2023
4132e69
Decouple smoothing step from validation step. Rename variables.
ericyang125 Nov 10, 2023
e0f0825
Refactor buffer_a/b computation into its own method. Edit docstrings.
ericyang125 Nov 10, 2023
ddb0e9b
Avoid storing row and col peaks before subpixel approximation.
ericyang125 Nov 10, 2023
0efafd7
Refactor subroutines to obtain correlation peaks, values and displace…
ericyang125 Nov 11, 2023
9936567
Move stack_iw() from CorrelationGPU to PIVFieldGPU. Remove frame and …
ericyang125 Nov 12, 2023
a0b3a1f
Delete benchmark.
ericyang125 Nov 12, 2023
3dc8ab8
Refactor main loop of gpu_process into smaller methods.
ericyang125 Nov 12, 2023
c4f4f33
Add logical_or function. Exempt all validation locations from being u…
ericyang125 Nov 20, 2023
1cdcbf2
Use val_locations from every validation iteration to compute weights …
ericyang125 Nov 24, 2023
2924973
Fix bug in _zero_pad_offset. Rename variables. Replace getter methods…
ericyang125 Nov 26, 2023
e52752d
Add unit tests.
ericyang125 Nov 26, 2023
d298195
Add integration tests for CorrelationGPU. Add regressions tests ofr s…
ericyang125 Nov 26, 2023
592257c
Change getter methods to properties.
ericyang125 Nov 28, 2023
f8c7eb0
Add methods to validate by considering norm of vector error rather th…
ericyang125 Nov 30, 2023
6e562d0
Remove duplicate code calling neighbour-validation kernels.
ericyang125 Nov 30, 2023
36899ad
Move gpu modules into their own packages.
ericyang125 Nov 30, 2023
5750528
Pull changes from upstream.
ericyang125 Dec 2, 2023
e2cdd38
Update README.
ericyang125 Dec 2, 2023
d321e4e
Add pytest plugins.
ericyang125 Dec 2, 2023
94d0b0c
Remove regression data.
ericyang125 Dec 2, 2023
0d08348
Fix error.
ericyang125 Dec 3, 2023
7055d00
Fix error.
ericyang125 Dec 3, 2023
5a044f1
Add __init__.py to make gpu package work.
ericyang125 Dec 3, 2023
1e266cc
Change imports of gpu modules to be absolute.
ericyang125 Dec 3, 2023
61ca48f
Update advanced tutorial.
ericyang125 Dec 3, 2023
192bd0a
Update basic tutorial.
ericyang125 Dec 3, 2023
db26e35
Update README.md.
ericyang125 Dec 3, 2023
4133884
Update TODO.md.
ericyang125 Dec 3, 2023
ba4173a
Add mathematical definitions used in certain GPU functions.
ericyang125 Dec 4, 2023
5de1e8b
Remove _check_arrays() from private methods.
ericyang125 Dec 4, 2023
5bf6bcf
Move type definitions into __init__.py
ericyang125 Dec 4, 2023
3f85844
Rename classes to remove "GPU".
ericyang125 Dec 4, 2023
1090cbd
Update docstrings.
ericyang125 Dec 4, 2023
3621234
Remove copy operations in GPU kernels.
ericyang125 Dec 4, 2023
3385765
Change order of functions. Add comments.
ericyang125 Dec 5, 2023
41ccf98
Update README with instructions to get latest scikit-cuda.
ericyang125 Dec 9, 2023
c4f812f
Fix bug in validation test. Refactor imports. Use pycuda.autoprimaryc…
ericyang125 Dec 9, 2023
67e3c2e
Add functions to copy discontiguous GPU arrays.
ericyang125 Dec 9, 2023
a3af840
Update basic tutorial.
ericyang125 Dec 9, 2023
553b1ac
Update basic tutorial.
ericyang125 Dec 9, 2023
9847753
Update advanced tutorial.
ericyang125 Dec 9, 2023
0aa3fac
Using descriptors, allow for changing validation tols as public prope…
ericyang125 Dec 10, 2023
0877e75
Add github link to scikit-cuda to install_requires line.
ericyang125 Dec 10, 2023
d08bd9b
Add github link to scikit-cuda to install_requires line.
ericyang125 Dec 10, 2023
6d11643
Add instructions to install from GitHub, both globally and locally.
ericyang125 Dec 10, 2023
4a47c3a
Delete version number.
ericyang125 Dec 10, 2023
b3084e7
Update basic tutorial.
ericyang125 Dec 10, 2023
1dae564
Update advanced tutorial.
ericyang125 Dec 10, 2023
60098ed
Merge remote-tracking branch 'upstream-openpiv-python-gpu/master'
ericyang125 Dec 16, 2023
b92d2c2
Fix bug where frames are not properly masked. Add corresponding test.
ericyang125 Dec 19, 2023
650570d
Update variable names to not conflict with fixture names.
ericyang125 Dec 19, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .gitignore
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,8 @@ openpiv/examples/notebooks/*.html
openpiv/examples/notebooks/test_3d/
Open_PIV_results_*
openpiv/docs/.vscode/
openpiv/docs/_build/
openpiv/examples/.vscode/settings.json
openpiv/docs/_build/doctrees/environment.pickle
openpiv/docs/src/test1.vec
openpiv/test/OpenPIV_results_16_/field_A0000.png
22 changes: 22 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# .readthedocs.yaml
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details

# Required
version: 2

# Set the version of Python and other tools you might need
build:
os: ubuntu-22.04
tools:
python: "3.9"

# Build documentation in the docs/ directory with Sphinx
sphinx:
configuration: openpiv/docs/conf.py

# We recommend specifying your dependencies to enable reproducible builds:
# https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
python:
install:
- requirements: openpiv/docs/requirements.txt
1 change: 1 addition & 0 deletions CHANGES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,5 @@ v0.23.2 - added mask_coordinats to preprocess, allows to use dynamic_masking to
with the first_pass. Both first_pass and multi_pass now apply filtering externally

v0.23.6 - removed widim.pyx, no Cython modules anymore
v0.23.7 - @ErichZimmer provided rectangular windows and we moved the test cases to another repo openpiv-python-examples

42 changes: 4 additions & 38 deletions INSTALL → INSTALL.txt
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
========================
Installation instruction
========================
=========================
Installation instructions
=========================

Dependencies
============
Expand All @@ -9,50 +9,16 @@ OpenPIV would not have been possible if other great open source projects did not
exist. We make extensive use of code and tools that other people have created, so
you should install them before you can use OpenPIV.

The dependencies are:
The main dependencies are:

* `python <http://python.org/>`_
* `scipy <http://numpy.scipy.org/>`_
* `numpy <http://www.scipy.org/>`_
* `cython <http://cython.org/>`_
* `scikit-image <http://scikit-image.org/>`_

On all the platforms, the binary Anaconda installation is recommended.
Visit https://www.continuum.io/downloads

How to install the dependencies on Linux (detailed)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
On a Linux platform installing these dependencies should be trick. Often, if not always,
python is installed by default, while the other dependencies should appear in your package
manager.

/**
Example of installation procedure on Ubuntu
(tested for version 10.04 to 12.10)
*open a terminal & install modules
sudo apt-get install python-pip
sudo apt-get install python-setuptools python-dev build-essential
sudo pip install numpy
sudo pip install
sudo apt-get install libatlas-base-dev gfortran
sudo pip install scipy
sudo pip install cython
sudo apt-get install python-matplotlib
pip install -U scikit-image
*you will need version 1.6.0 or later of the numpy module.
*If pip cannot find the right version, easyinstall should work:
sudo easyinstall numpy
*now download openpiv source code and move to the openpiv directory
*then install openpiv:
sudo python setup.py install
*open a new terminal & test openpiv
openpiv
*if you get an error such as "unknown module lib" try to logout or try to modify the PYTHONPATH variable by adding
export PYTHONPATH=$PYTHONPATH:[path-to-openpiv-directory]
to your ~/.bashrc file and then logout or:
source ~/.bashrc
**/


Get OpenPIV source code!
========================
Expand Down
Loading