piv API documentation
SOURCES: lib/postc, lib/post_par.c
LAST MODIFICATION DATE:
| #define GPIV_POSTPAR_DEFAULT__DIFF_TYPE 2 |
Default parameter for diff_type of __GpivPostPar
| #define GPIV_POSTPAR_DEFAULT__OPERATOR_MANIPIV 0 |
Default parameter for operator_manipiv of __GpivPostPar
| #define GPIV_POSTPAR_DEFAULT__OPERATOR_VORSTRA 0 |
Default parameter for operator_vorstra of __GpivPostPar
| #define GPIV_POSTPAR_DEFAULT__SCALE_TYPE 0 |
Default parameter for scale_type of __GpivPostPar
| #define GPIV_POSTPAR_DEFAULT__SET 1 |
Default parameter for set of __GpivPostPar
| #define GPIV_POSTPAR_DEFAULT__SET_DX 0.0 |
Default parameter for set_dx of __GpivPostPar
| #define GPIV_POSTPAR_DEFAULT__SET_DY 0.0 |
Default parameter for set_dx of __GpivPostPar
| #define GPIV_POSTPAR_DEFAULT__SUBTRACT 0 |
Default parameter for subtract of __GpivPostPar
| #define GPIV_POSTPAR_DEFAULT__Z_OFF_DX 0.0 |
Default parameter for z_off_dx of __GpivPostPar
| #define GPIV_POSTPAR_DEFAULT__Z_OFF_DY 0.0 |
Default parameter for z_off_dy of __GpivPostPar
| enum GpivDifferentiation |
| enum GpivOperation |
| enum GpivOperationManipiv |
Operator to transform (manipulate) PIV data
| enum GpivScaleType |
| enum GpivVelComponent |
| char* gpiv_post_check_parameters_read | ( | GpivPostPar * | piv_post_par, | |
| GpivPostPar | piv_post_par_default | |||
| ) |
Checks out if all parameters have been read. Else, set to default value.
| [in] | piv_post_par | post-processing parameters |
| [in] | piv_post_par_default | default post-processing parameters |
| [out] | piv_post_par | post-processing parameters |
| void gpiv_post_default_parameters | ( | GpivPostPar * | piv_post_par_default, | |
| gboolean | force | |||
| ) |
Sets post-processing parameters to default values.
| [in] | force | flag to enforce parameters set to defaults |
| [out] | piv_post_par_default | default post-processing parameters |
| void gpiv_post_fprint_parameters | ( | FILE * | fp_par_out, | |
| GpivPostPar | piv_post_par | |||
| ) |
Prints parameters to fp_par_out.
| [in] | piv_post_par | post-processing parameters |
| [in] | fp_par_out | pointer to output file |
| char* gpiv_post_fread_hdf5_parameters | ( | char * | fname, | |
| GpivPostPar * | piv_post_par | |||
| ) |
Reads post parameters from hdf5 data file.
| [in] | fname | file name of data file |
| [out] | piv_post_par | post-processing parameters |
| char* gpiv_post_fwrite_hdf5_parameters | ( | char * | fname, | |
| GpivPostPar * | piv_post_par | |||
| ) |
Writes post parameters to an existing hdf5 data file.
| [in] | fname | file name of data file |
| [in] | piv_post_par | post-processing parameters |
| int gpiv_post_inverse_scale | ( | GpivPivData | in_data, | |
| GpivPivData * | out_data, | |||
| GpivImagePar | image_par | |||
| ) |
Piv post processing function to adjust for time and spatial scales.
| [in] | in_data | input piv data |
| [in] | image_par | image parameter structure |
| [out] | out_data | output piv data |
| char* gpiv_post_manipiv | ( | char * | fname_in_piv, | |
| gboolean | fname_logic, | |||
| GpivPivData | in_data, | |||
| GpivPivData * | out_data, | |||
| GpivPostPar | piv_post_par, | |||
| char | d_line[GPIV_MAX_LINES][GPIV_MAX_CHARS], | |||
| int | nd_lines, | |||
| char | c_line[GPIV_MAX_LINES_C][GPIV_MAX_CHARS], | |||
| int * | nc_lines | |||
| ) |
Piv post processing function to manipulate data; flipping rotating, etc.
| [in] | fname_in_piv | file name of input piv data |
| [in] | fname_logic | flag whether files are to be used |
| [in] | in_data | input piv data |
| [in] | piv_post_par | post-processing parameters |
| [in] | d_line | data lines |
| [in] | nd_lines | number of data lines |
| [in] | c_line | commented lines |
| [in] | nc_lines | number of commented lines |
| [out] | out_data | output piv data |
| void gpiv_post_parameters_logic | ( | GpivPostPar * | piv_post_par, | |
| gboolean | flag | |||
| ) |
Sets flag for piv_post_par _logic.
| [in] | piv_post_par | post-processing parameters |
| [in] | flag | boolean to set |
| void gpiv_post_read_parameters | ( | FILE * | fp_par, | |
| GpivPostPar * | piv_post_par, | |||
| gboolean | print_par | |||
| ) |
Reads all parameters for PIV data validation.
| [in] | fp_par | pointer to input file |
| [in] | print_par | flag to print parameters to stdout |
| [out] | piv_post_par | post-processing parameters |
| void gpiv_post_savg | ( | GpivPivData | in_data, | |
| GpivPivData * | out_data, | |||
| GpivPostPar | piv_post_par, | |||
| int * | ndata | |||
| ) |
Piv post processing function to calculate spatial mean, variances.
| [in] | in_data | input piv data |
| [in] | piv_post_par | post-processing parameters |
| [out] | out_data | output piv data |
| [out] | ndata | number of valid iput piv data |
| int gpiv_post_scale | ( | GpivPivData | in_data, | |
| GpivPivData * | out_data, | |||
| GpivImagePar | image_par | |||
| ) |
Piv post processing function to adjust for time and spatial scales.
| [in] | in_data | input piv data |
| [in] | image_par | image parameter structure |
| [out] | out_data | output piv data |
| void gpiv_post_subtract_dxdy | ( | GpivPivData | in_data, | |
| GpivPivData * | out_data, | |||
| float | z_off_dx, | |||
| float | z_off_dy | |||
| ) |
Subtracts displacements or velocity from piv data.
| [in] | in_data | input piv data |
| [in] | z_off_dx | value in horizontal direction to be subtracted |
| [in] | z_off_dy | value in vertical direction to be subtracted |
| [out] | out_data | output piv data |
| void gpiv_post_uvhisto | ( | GpivPivData | in_data, | |
| GpivBinData * | klass, | |||
| enum GpivVelComponent | velcomp | |||
| ) |
Calculating histogram of U (horizontal) or V (vertical) particle displacements.
| [in] | in_data | input piv data |
| [in] | velcomp | velocity component from which histogram is calculated |
| [out] | klass | histogram |
| char* gpiv_post_vorstra | ( | GpivPivData | in_data, | |
| GpivScalarData * | out_data, | |||
| GpivPostPar | piv_post_par | |||
| ) |
Piv post processing function to calculate vorticity and strain.
| [in] | in_data | input piv data |
| [in] | piv_post_par | post-processing parameters |
| [out] | out_data | output piv data |
Variables for scaling PIV data
Operator to transform (manipulate) PIV data
1.5.1