Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

f_find_peaks.h

Go to the documentation of this file.
00001 //-------------------------------------------------------------
00002 //        Go4 Release Package v3.04-01 (build 30401)
00003 //                      28-November-2008
00004 //---------------------------------------------------------------
00005 //   The GSI Online Offline Object Oriented (Go4) Project
00006 //   Experiment Data Processing at EE department, GSI
00007 //---------------------------------------------------------------
00008 //
00009 //Copyright (C) 2000- Gesellschaft f. Schwerionenforschung, GSI
00010 //                    Planckstr. 1, 64291 Darmstadt, Germany
00011 //Contact:            http://go4.gsi.de
00012 //----------------------------------------------------------------
00013 //This software can be used under the license agreements as stated
00014 //in Go4License.txt file which is part of the distribution.
00015 //----------------------------------------------------------------
00016 #ifndef F_FIND_PEAKS
00017 #define F_FIND_PEAKS
00018 
00019 #define TYPE__SHORT  0
00020 #define TYPE__INT    1
00021 #define TYPE__FLOAT  2
00022 #define TYPE__DOUBLE 3
00023 void f_find_peaks(
00024         void *,    // pointer to data
00025         int,       // data type: use definitions above
00026         int,       // first channel (0,...)
00027         int,       // number of channels
00028         int,       // channels to sum up (bin size in channels)
00029         double,    // noise factor to square root
00030         double,    // noise minimum (absolut)
00031         double *,  // array with noise (original channels)
00032         int,       // Maximum number of peaks. Arrays below must have this size.
00033         int *,     // returns number of peaks found
00034         int *,     // pointer to array of minima
00035         double *,  // pointer to array of minima values
00036         int *,     // pointer to array of maxima
00037                   int *,     // pointer to array of width
00038         double *); // pointer to array of integrals
00039 
00040 #endif
00041 
00042 //----------------------------END OF GO4 SOURCE FILE ---------------------

Generated on Fri Nov 28 12:59:32 2008 for Go4-v3.04-1 by  doxygen 1.4.2