Main Page | Files | Data Structures | Functions | Global Variables |
gpiv-post_utils.h
Go to the documentation of this file.
1 /* -*- Mode: C; indent-tabs-mode: nil; c-basic-offset: 4 c-style: "K&R" -*- */
2 
3 /*
4  libgpiv - library for Particle Image Velocimetry
5 
6  Copyright (C) 2007, 2008 Gerber van der Graaf
7 
8  This file is part of libgpiv.
9 
10  Libgpiv is free software; you can redistribute it and/or modify
11  it under the terms of the GNU General Public License as published by
12  the Free Software Foundation; either version 2, or (at your option)
13  any later version.
14 
15  This program is distributed in the hope that it will be useful,
16  but WITHOUT ANY WARRANTY; without even the implied warranty of
17  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18  GNU General Public License for more details.
19 
20  You should have received a copy of the GNU General Public License
21  along with this program; if not, write to the Free Software Foundation,
22  Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
23 
24 
25 
26 
27 -------------------------------------------------------------------------------
28 LIBRARY: libgpiv:
29 EXTERNAL FUNCTIONS:
30  gpiv_null_scdata
31  gpiv_alloc_scdata
32  gpiv_free_scdata
33 
34  gpiv_null_bindata
35  gpiv_alloc_bindata
36  gpiv_free_bindata
37 
38 
39 LAST MODIFICATION DATE: $Id: gpiv-post_utils.h,v 1.1 2007-11-23 16:12:18 gerber Exp $
40  --------------------------------------------------------------------------- */
50 #ifndef __LIBGPIV_POST_UTILS_H__
51 #define __LIBGPIV_POST_UTILS_H__
52 
53 
61 void
63  );
64 
65 
74 gpiv_alloc_scdata (const gint nx,
75  const gint ny
76  );
77 
78 
86 void
88  );
89 
90 
91 
101 gchar *
102 gpiv_scalar_gnuplot (const gchar *fname_out,
103  const gchar *title,
104  const gchar *GNUPLOT_DISPLAY_COLOR,
105  const gint GNUPLOT_DISPLAY_SIZE
106  );
107 
108 
109 
117 void
119  );
120 
121 
128 GpivBinData *
129 gpiv_alloc_bindata (const guint nbins
130  );
131 
132 
140 void
142  );
143 
144 
152 void
153 gpiv_histo (const GpivPivData *data,
154  GpivBinData *klass
155  );
156 
157 
158 
167 void
168 gpiv_cumhisto (const GpivPivData *data,
169  GpivBinData *klass
170  );
171 
172 
173 
183 gchar *
184 gpiv_histo_gnuplot (const gchar *fname_out,
185  const gchar *title,
186  const gchar *GNUPLOT_DISPLAY_COLOR,
187  const gint GNUPLOT_DISPLAY_SIZE
188  );
189 
190 
191 #endif /* __LIBGPIV_POST_UTILS_H__ */
gchar * gpiv_histo_gnuplot(const gchar *fname_out, const gchar *title, const gchar *GNUPLOT_DISPLAY_COLOR, const gint GNUPLOT_DISPLAY_SIZE)
Plots histogram on screen with gnuplot.
void gpiv_histo(const GpivPivData *data, GpivBinData *klass)
Calculates histogram from GpivPivData (NOT from GpivScalarData!!).
gchar * gpiv_scalar_gnuplot(const gchar *fname_out, const gchar *title, const gchar *GNUPLOT_DISPLAY_COLOR, const gint GNUPLOT_DISPLAY_SIZE)
Graphical output with gnuplot for scalar data.
Holds scalar data, mostly derived from __GpivPivData.
Definition: gpiv.h:321
void gpiv_null_scdata(GpivScalarData *scal_data)
Sets all elements of sc_data structure to NULL.
GpivBinData * gpiv_alloc_bindata(const guint nbins)
Allocates memory for GpivBinData.
void gpiv_null_bindata(GpivBinData *bin_data)
Sets all elements of bin_data structure to NULL.
Holds the variables of PIV data.
Definition: gpiv.h:267
GpivScalarData * gpiv_alloc_scdata(const gint nx, const gint ny)
Allocates memory for GpivScalarData.
void gpiv_free_scdata(GpivScalarData *scal_data)
Frees memory for GpivScalarData.
void gpiv_free_bindata(GpivBinData *bin_data)
Frees memory for GpivBinData.
Used for making up histograms in bins or klasses.
Definition: gpiv.h:348
void gpiv_cumhisto(const GpivPivData *data, GpivBinData *klass)
Calculates cumulative histogram from GpivPivData (NOT from GpivScalarData!!).

Generated for libgpiv-0.6.1 by doxygen 1.8.13