~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

Linux Cross Reference
Tina5/tina-libs/tina/math/mathUtil_hist.h

Version: ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 /**********
  2  * 
  3  * Copyright (c) 2003, Division of Imaging Science and Biomedical Engineering,
  4  * University of Manchester, UK.  All rights reserved.
  5  * 
  6  * Redistribution and use in source and binary forms, with or without modification, 
  7  * are permitted provided that the following conditions are met:
  8  * 
  9  *   . Redistributions of source code must retain the above copyright notice, 
 10  *     this list of conditions and the following disclaimer.
 11  *    
 12  *   . Redistributions in binary form must reproduce the above copyright notice,
 13  *     this list of conditions and the following disclaimer in the documentation 
 14  *     and/or other materials provided with the distribution.
 15  * 
 16  *   . Neither the name of the University of Manchester nor the names of its
 17  *     contributors may be used to endorse or promote products derived from this 
 18  *     software without specific prior written permission.
 19  * 
 20  * 
 21  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 
 22  * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
 23  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
 24  * ARE DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE 
 25  * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 
 26  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 
 27  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
 28  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 
 29  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 
 30  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 
 31  * POSSIBILITY OF SUCH DAMAGE.
 32  *
 33  **********
 34  * 
 35  * Program :    TINA
 36  * File    :  $Source: /home/tina/cvs/tina-libs/tina/math/mathUtil_hist.h,v $
 37  * Date    :  $Date: 2008/10/02 11:53:05 $
 38  * Version :  $Revision: 1.7 $
 39  * CVS Id  :  $Id: mathUtil_hist.h,v 1.7 2008/10/02 11:53:05 neil Exp $
 40  *
 41  * Author  :  Legacy Tina
 42  *
 43  * Notes :
 44  *
 45  *********
 46 */
 47 
 48 #ifndef TINA_MATH_UTIL_HIST_HDR
 49 #define TINA_MATH_UTIL_HIST_HDR
 50 
 51 #include <stdio.h>
 52 #include <tina/math/math_UtilDef.h>
 53 
 54 #ifdef __cplusplus
 55 extern "C" {
 56 #endif /* __cplusplus */
 57 
 58   shistogram **hist_vec();
 59   shistogram *hbook1(int id, char *title,float xmin,float xmax,int xbins);
 60   shistogram *hfree(shistogram *ph);
 61   shistogram *hbook2(int id,char *title,float xmin,float xmax,int xbins,float ymin,float ymax,int ybins);
 62   float hfill1(shistogram *ph,float x,float w);
 63   float hfill1s(shistogram *ph,float x,float w);
 64   float hfill2(shistogram *ph,float x,float y,float w);
 65   float hfill2s(shistogram *ph,float x,float y,float w);
 66   void hprint(FILE *fp,shistogram *ph);
 67   double hresidual(shistogram *ph, int i);
 68   double hlnorm(shistogram *ph, int norm);
 69   double hgradstat(shistogram *ph);
 70   double hrunstat(shistogram *ph);
 71   void histdo(FILE *fp);
 72   void hreset(shistogram *ph);
 73   void hpxprint(FILE *fp, shistogram *ph);
 74   void hpyprint(FILE *fp, shistogram *ph);
 75   double hdiag(shistogram *ph);
 76   void hintegf(shistogram *ph);
 77   void hintegb(shistogram *ph);
 78   void hdiff(shistogram *ph);
 79   float hmedian(shistogram *ph);
 80   float hquartile(shistogram *ph, float quartile);
 81   void hsmoof(shistogram *ph);
 82   float hmax1(shistogram *ph, float *maxx);
 83   float hnearmax1(shistogram *ph, float *maxx);
 84   float hmax2(shistogram *ph, float *maxx, float *maxy);
 85   void hstore(FILE *fp,shistogram *ph);
 86   void hfetch(FILE *fp);
 87   void hopera();
 88 void hfit(FILE *fp,shistogram *ph,int n,double *a,double *w,
 89           double (*fitfunc)(int, double *,float) ,
 90           double(*errfunc)(shistogram *,float));
 91 double **herror_analysis(FILE *fp,shistogram *ph,int n,double *a,
 92           double (*fitfunc)(int, double *,float),
 93           double (*derfunc)(double *,float,int),
 94           double(*errfunc)(shistogram *,float),
 95                          int exclude);
 96   void hsuper(shistogram *ph,int n,double (*func)(int, double*, float),double *a);
 97   void hfit_gauss(FILE *fp,shistogram *ph);
 98   double herrdum(shistogram *ph,float x);
 99   double hgaussian(int n,double *a,float x);
100   double hgaussder(double *a,float x,int i);
101   double **hmatinv(int n, double *params, double **a, double *nresult);
102   void          hbin_dump_plain(FILE *out, shistogram *ph);
103 
104 
105 #ifdef __cplusplus
106 }
107 #endif /* __cplusplus */
108 
109 #endif /* TINA_MATH_UTIL_HIST_HDR*/ 
110 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

This page was automatically generated by the LXR engine.
Visit the LXR main site for more information.