Skip to content

Commit 80bcfad

Browse files
authored
Merge pull request #103 from boykovdn/patch-1
Add additional imports
2 parents ba3746a + 13ec4a7 commit 80bcfad

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

openpiv/docs/src/tutorial.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ The first example shows how to process a single image pair. This is a common tas
1717
import openpiv.tools
1818
import openpiv.process
1919
import openpiv.scaling
20+
import openpiv.validation
21+
import openpiv.filters
2022
2123
frame_a = openpiv.tools.imread( 'exp1_001_a.bmp' )
2224
frame_b = openpiv.tools.imread( 'exp1_001_b.bmp' )
@@ -40,6 +42,8 @@ We first import some of the openpiv modules.::
4042
import openpiv.tools
4143
import openpiv.process
4244
import openpiv.scaling
45+
import openpiv.validation
46+
import openpiv.filters
4347
4448
Module ``openpiv.tools`` contains mostly contains utilities and tools, such as file I/O and multiprocessingvfacilities. Module ``openpiv.process`` contains advanced algorithms for PIV analysis and several helper functions. Last, module ``openpiv.scaling`` contains functions for field scaling.
4549

@@ -140,6 +144,8 @@ Let's first import the needed modules.::
140144
import openpiv.tools
141145
import openpiv.scaling
142146
import openpiv.process
147+
import openpiv.validation
148+
import openpiv.filters
143149
144150
We then define a python function which will be excecuted for each image pair. In this function we can specify any operation to execute on each single image pair, but here, for clarity we will setup a basic analysis, without a validation/replacement step.
145151

0 commit comments

Comments
 (0)