GSI Object Oriented Online Offline (Go4)  GO4-6.2.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Macros | Functions
f_find_peaks.c File Reference
#include <stdlib.h>

Go to the source code of this file.

Macros

#define TYPE__SHORT   0
 
#define TYPE__INT   1
 
#define TYPE__FLOAT   2
 
#define TYPE__DOUBLE   3
 
#define UP   1
 
#define DOWN   -1
 
#define HORI   0
 
#define PRINT   0
 
#define LOW   2
 
#define WIDTH   8
 

Functions

int go4fit_position (int l_len, double *pa_data, double *pr_pos, double *pr_sig, double *pr_sum)
 
void go4fit_find_peaks (void *pfData, int lType, int lFirstChan, int lPoints, int lAver, double dDeltaFact, double dDeltaMin, double *dNoise, int lPeaksMax, int *plPeaks, int *plMinima, double *pdMinima, int *plMean, int *plWidth, double *pdIntegral, int *plLeft, int *plMaximum, int *plRight, float *pfLowNoise, float *pfHighNoise)
 

Macro Definition Documentation

#define DOWN   -1

Definition at line 22 of file f_find_peaks.c.

Referenced by go4fit_find_peaks().

#define HORI   0

Definition at line 23 of file f_find_peaks.c.

Referenced by go4fit_find_peaks().

#define LOW   2
#define PRINT   0

Definition at line 24 of file f_find_peaks.c.

Referenced by go4fit_find_peaks().

#define TYPE__DOUBLE   3

Definition at line 19 of file f_find_peaks.c.

Referenced by go4fit_find_peaks(), and TGo4FitPeakFinder::HansEsselPeakFinder().

#define TYPE__FLOAT   2

Definition at line 18 of file f_find_peaks.c.

Referenced by go4fit_find_peaks().

#define TYPE__INT   1

Definition at line 17 of file f_find_peaks.c.

Referenced by go4fit_find_peaks().

#define TYPE__SHORT   0

Definition at line 16 of file f_find_peaks.c.

Referenced by go4fit_find_peaks().

#define UP   1

Definition at line 21 of file f_find_peaks.c.

Referenced by go4fit_find_peaks().

#define WIDTH   8

Function Documentation

void go4fit_find_peaks ( void *  pfData,
int  lType,
int  lFirstChan,
int  lPoints,
int  lAver,
double  dDeltaFact,
double  dDeltaMin,
double *  dNoise,
int  lPeaksMax,
int *  plPeaks,
int *  plMinima,
double *  pdMinima,
int *  plMean,
int *  plWidth,
double *  pdIntegral,
int *  plLeft,
int *  plMaximum,
int *  plRight,
float *  pfLowNoise,
float *  pfHighNoise 
)
int go4fit_position ( int  l_len,
double *  pa_data,
double *  pr_pos,
double *  pr_sig,
double *  pr_sum 
)

Definition at line 307 of file f_find_peaks.c.

Referenced by go4fit_find_peaks().