LIBGPIV version, static lib, doxygen, cleanup autotools
[libgpiv.git] / gpiv.conf
blob397704fc3530583c93268d53dffba2c8184f098f
1 #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2 #  Libgpiv: library for Particle Image Velocimetry
3 #  Version: 0.5.2
4 #  URL: http://gpiv.sourceforge.net
7 #  This file contains the parameters settings for the Gpiv and Gpivtools
8 #  packages and is installed for system-wide use during installation
9 #  of Libgpiv (at /etc for most of *nix-like systems).
11 #  For personalizing the parameters, copy this file to $HOME/.gpivrc and adapt 
12 #  it to your needs. For the Gpivtools programs the system-wide configuration 
13 #  and the personalized parameters may be overruled by ./gpivrc (at local 
14 #  directory) or by the command-line keys.
16 #  If a parameter is not defined by the command-line keys or in one of
17 #  the parameter resources (i.e. $HOME/.gpivrc and (system-wide) gpiv.conf),
18 #  its default value will be taken from Libgpiv, as defined in the headers. 
19 #  
20 #  Each parameter is described by the module key (GENPAR, CAM, TRIG, IMG,
21 #  IMGPROC, PIV, VALID or POST) and the parameter name, separated by
22 #  a dot (.), followed by its value. Some of the parameters are
23 #  optional. The parameters may be defined in arbitrary order. Blank
24 #  lines and comment (starting with a pound sign (#) at the first
25 #  column) may be included in the parameter files.
27 #------------------------------------------------------------------------------
30 #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
31 #  General parameters (key: GENPAR)
32 #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
34 #  First numbered directory to search for (numbered).
35 #  Used for bulk processing or statistics from a number of images / PIV data,
36 #  for example calculation of the mean image intensity at each pixel
37 #  Default 0
38 #GENPAR.First_dir
40 #  Last numbered directory to search for (numbered)
41 #  Default 0
42 #GENPAR.Last_dir
44 #  Use a prefix before the directory name, TRUE (1) or FALSE (0)
45 #  Default 0
46 #GENPAR.Dir_prefix
48 #  First numbered file name of image for processing
49 #  Default 0
50 #GENPAR.First_file
52 #  Last numbered file name of image for processing
53 #  Default 0
54 #GENPAR.Last_file
56 #  Use a prefix before the file name, , TRUE (1) or FALSE (0)
57 #  Default 0
58 #GENPAR.File_Prefix
61 #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
62 #  Camera parameters (key: CAM)
63 #  Only active if camera has been enabled during compilation by:
64 # ./configure --enable-cam
65 #------------------------------------------------------------------------------
67 #  Operating mode (indefinite/interrupt/definite)
68 #  Default 1
69 CAM.Mode 1
71 #  number of cycles (equal to number of images to be recorded?)
72 #  Default 1
73 CAM.Cycles 1
75 #  Image filename
76 #  Default gpiv_img
77 CAM.Fname gpiv_img
81 #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
82 #  Real Time Application Interface (RTAI) trigger parameters (key: TRIG)
83 #  Only active if triggering has been enabled during compilation by:
84 # ./configure --enable-trig
85 #------------------------------------------------------------------------------
87 #  Trigger time settings:
88 #  All timings are internally expressed in nano seconds. The parameters here
89 #  are expressed in milliseconds. It is thought that this is more convenient,
90 #  while this policy is used as well by the gpivtrig module and Rtai packages.
91 #  Camera acquisition period time
92 #  Default 250
93 TRIG.Ttime_cap 250.0
95 #  Laser trigger pulse width
96 #  Default 0.02
97 TRIG.Ttime_lpw 0.02
99 #  Time from laser trigger->Hi until laser pulse (ms)
100 #  Default 0.19
101 TRIG.Ttime_t2l 0.19
103 #  Time between 2 laser exposures
104 #  Default 10
105 TRIG.Ttime_dt 10
107 #  Operating mode (indefinite/interrupt/definite)
108 #  Default 2
109 TRIG.Ttime_mode 2
111 #  number of cycles (equal to number of images to be recorded?)
112 #  Default 1
113 TRIG.Ttime_cycles 1
115 #  Increment in dt
116 #  Default 1
117 TRIG.Ttime_incr_dt 1
121 #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
122 #  Image parameters
123 #  Required parameters for reading the image should be present in the 
124 #  image header or the software will return an error
125 #------------------------------------------------------------------------------
127 #  DEPRECIATED: should be defined in image header
128 #  Number of columns containing the image
129 #  Default 256
130 ##IMG.ncolumns 256
133 #  DEPRECIATED: should be defined in image header
134 #  Number of rowss containing the image
135 #  Default 256
136 ##IMG.nrows 256
138 #  DEPRECIATED: should be defined in image header
139 #  Image color depth (1 - 16)
140 #  Default 8
141 IMG.depth 8
143 #  Image contains a single frame for autocorrelation (0) or 
144 #  or two frames fror cross-correlation (1)
145 #  Default 1
146 IMG.x_corr 1
149 #  --------------------------------------------- used by gpiv_post_scale()
150 #  Spatial scale expressed in mm/pixel
151 #  Default 1.0
152 IMG.s_scale 1.0
155 #  Time scale; separation time between subsequent image recordings,
156 #  expressed in milliseconds
157 #  Default 1.0
158 IMG.t_scale 1.0
161 #  Zero offset of pixel(0,0) in relatation to a specific point in the 
162 #  experiment, expressed in meters
164 #  Default 0.0
165 IMG.zoff_x 0.0
167 #  Default 0.0
168 IMG.zoff_y 0.0
171 #  ------------------------------------------------- Optional parameters
172 # IMG.title 
173 # IMG.creation_date
174 # IMG.location 
175 # IMG.author 
176 # IMG.software
177 # IMG.source
178 # IMG.usertext 
179 # IMG.warning
180 # IMG.disclaimer
181 # IMG.comment
182 # IMG.copyright
183 # IMG.email
184 IMG.url http://gpiv.sourceforge.net
187 #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
188 #  Parameters for image processing (key: IMGPROC)
189 #------------------------------------------------------------------------------
191 #  Used for filtering on single image or image pair:
192 #  MKTESTIMG = 0
193 #  SUBTRACT = 1
194 #  SMOOTH = 2
195 #  HILO = 3
196 #  CLIP = 4
197 #  FFT = 5
198 #  INVFFT = 6
199 #  LOWPASS = 9
200 #  HIGHPASS = 10
201 #  Default 1
202 #IMGPROC.Filter
204 #  Operator when smoothing image:
205 #  EQUAL = 0; performs no action
206 #  SUBTRACT = 1: subtracts average of window from current pixel value
207 #  ADD = 2: adds average of window from current pixel value
208 #  MULTIPLY = 3: multiplies average of window with current pixel value
209 #  DIVIDE = 3: divides current pixel value by average of window
210 #  Default 0
211 #IMGPROC.Smooth_operator
213 #  Default 10
214 #IMGPROC.Window
216 #  Default 30
217 #IMGPROC.Threshold
219 #  Default background.png
220 #IMGPROC.Fname
222 #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
223 #  Parameters of PIV image evaluation (= interrogation) (key: PIV)
224 #------------------------------------------------------------------------------
226 #  Column to start first interrogation area (start with 0)
227 #  Default 0
228 PIV.Col_start 0
231 #  Column to start last interrogation area
232 #  Default 255
233 PIV.Col_end 255
236 #  Line (or row) to start first interrogation area (start with 0)
237 #  Default 0
238 PIV.Row_start 0
241 #  Line (or row) to start last interrogation area
242 #  Default 255
243 PIV.Row_end 255
246 #  Initial interrogation size (not necessary to be power of 2), 
247 #  has to be equal or larger than the Final interrogation size).
248 #  Default 32
249 PIV.Int_size_i 64
252 #  Final interrogation size (not necessary to be power of 2).
253 #  Default 64
254 PIV.Int_size_f 32
257 #  shift of adjacent interrogation area
258 #  Default 16
259 PIV.Int_shift 16
262 #  pre-shift in x-direction (columns)
263 #  Default 0
264 PIV.Pre_shift_col 0
267 #  pre-shift in y-direction (rows)
268 #  Default 0
269 PIV.Pre_shift_row 0
272 #  Adopt image data to interrogation area in order to correct for biasing
273 #  effects: 
274 #  0; no correction
275 #  1; linear kernel weighting
276 #  2; zero offsettting
277 #  3; zero ofsetting using central differential scheme
278 #  4; image deformation
279 #  Default 4
280 PIV.Int_scheme 4
283 #  Applies Gauss weighting to the Interrogation Area's to reduce the high 
284 #  spatial frequency signal generated from teh I.A. borders. This may improve 
285 #  the accuracy of the analyses.
286 #  Default 1
287 PIV.Gauss_weight_ia 1
289 #  Applies Symmetric Phase Only filtering
290 #  This may reduce background scatter or flare light, reflected from surfaces
291 #  and improve SNR
292 #  Default 0
293 PIV.Spof_filter 0
296 #  Calculates first (1),second (2) or third (3) highest peak in the covariance 
297 #  function
298 #  Default 1
299 PIV.Peak 1
302 #  type of sub-pixel fit; 
303 #  None = 0, 
304 #  Gauss=1, 
305 #  Power law=2, 
306 #  Grav=3
307 #  Default 1
308 PIV.Ifit 1
312 #  Interrogation geometry to be analysed: Area of Interest (0),
313 #  defined by col/row start/end, vertical line (1) defined by int_line_col,
314 #  horizontal line (2), defined by int_line_row or point (3), defined by 
315 #  point_col and point_row
316 #  Default 0
317 PIV.Int_geo 0
319 #  Default 64
320 PIV.Int_line_col 64
321 #  Default 0
322 PIV.Int_line_row_start 0 
323 #  Default 127
324 PIV.Int_line_row_end 127
326 #  Default 64
327 PIV.Int_line_row 64
328 #  Default 0
329 PIV.Int_line_col_start 0 
330 #  Default 127
331 PIV.Int_line_col_end 127
334 #  Select a single interrogation region with centre PIV.Point_col 
335 #  PIV.Point_row to interrogate (optional parameter)
336 #  Default 64
337 #PIV.Int_point_col 64
338 #  Default 64
339 #PIV.Int_point_row 64
344 #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
345 #   Parameters PIV data validation (key: VALID)
346 #-----------------------------------------------------------------------------
348 #  Maximum allowed residu value (from mean or median calculation) for 
349 #  acceptance. Maximum value defined by GPIV_RESIDU_MAX_NORMMEDIAN macro
350 #  Default 2.0
351 VALID.Residu_max 2.0
353 #  Odd number, representing the number of neighboring PIV data that will
354 *  be used to calculate the (median) residu and average local mean. 
355 #  Typically 3x3, maximum 9x9.
356 #  Default 3
357 VALID.Neighbors 3
360 #  Determines the residual of a particle displacement 
361 #  0: from the SNR value
362 #  1: from the median residual with its surroundings
363 #  2: normalized median: ratio between median residu with current datapoint 
364 #  included and between median residu of surroundigs (with datapoint excluded) 
365 #  Default 2
366 VALID.Residu_type 2
369 #  Substitutes erroneous displacements by:
370 #  0: not substituted, only peak_nr in PIV data set is set to 0
371 #  1: the mean of surroundings
372 #  2: median
373 #  3: the next highest correlation peak
374 #  Default 2
375 VALID.Subst_type 2
378 #  Use histogram (0) or cumulative histogram (1)
379 #  Default 0
380 VALID.Histo_type 0
383 #  Checking on outliers after substituion (REMOVE??)
384 VALID.Check 0
387 #  TODO:: Automatic threshold detection (from histogram analysis) 
388 VALID.Auto_thresh 0
391 #  Estimation of the data yield from particle image concentration, 
392 #  out-of plane flow, velocity gradient within interrogation area.
393 #  ref: Keane and Adrian 1992
394 #  Default 0.95
395 VALID.Data_yield 0.95
400 #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
401 #  Parameters post-processing, used by program manipiv (key: POST)
402 #-----------------------------------------------------------------------------
404 #  Operation on PIV data:
405 #  fast_y = 0
406 #  flip_x = 1 
407 #  flip_y = 2 
408 #  revert = 3 
409 #  rot90 = 4  
410 #  rot180 = 5  
411 #  filter_block = 6 
412 #  pass_block = 7
413 #  Default 0
414 POST.Operator_manipiv 0
416 #  Set disabled data to a specified value (1/0):
417 #  Default 1
418 POST.Set 1
421 #  Define x-displacement (columns, horizontal direction) to be set for 
422 #  disabled data:
423 #  Default 0.0
424 POST.Set_dx 0.0
427 #  Define y-displacement (rows, vertical direction) to be set for 
428 #  disabled data:
429 #  Default 0.0
430 POST.Set_dy 0.0
432 #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
433 #  Parameters post-processing, used by program s-avg (key: POST)
434 #-----------------------------------------------------------------------------
436 #  Subtracting displacements or velocity estimators with:
437 #  NONE (0), 
438 #  mean value (1) or 
439 #  Zoff_dx and Zoff_dy (2)
441 #  Default 0
442 POST.Subtract 0
444 #  Default 0.0
445 POST.Zoff_dx 0.0
447 #  Default 0.0
448 POST.Zoff_dy 0.0
451 #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
452 #  Parameters post-processing, used by program vorstra (key: POST)
453 #-----------------------------------------------------------------------------
455 #  Differentiation_Type:
456 #  central = 0 
457 #  least_squares = 1 
458 #  richardson = 2 
459 #  circulation = 3
460 #  Default 2
461 POST.Differential_type 2
464 #  Calculate from PIV data:
465 #  vorticity = 0 
466 #  shear strain = 1
467 #  normal strain = 2
468 #  Default 0
469 POST.Operator_vorstra 0
471 #  Normal (0) or inverse (1) scaling
472 #  Default 0
473 POST.Scale_type 0