GSI Object Oriented Online Offline (Go4) GO4-6.4.0
Loading...
Searching...
No Matches
f_find_peaks.c File Reference
#include <stdlib.h>

Go to the source code of this file.

Macros

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

Functions

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)
 

Macro Definition Documentation

◆ DOWN

#define DOWN   -1

Definition at line 22 of file f_find_peaks.c.

Referenced by go4fit_find_peaks().

◆ HORI

#define HORI   0

Definition at line 23 of file f_find_peaks.c.

Referenced by go4fit_find_peaks().

◆ LOW

#define LOW   2

◆ PRINT

#define PRINT   0

Definition at line 24 of file f_find_peaks.c.

Referenced by go4fit_find_peaks().

◆ TYPE__DOUBLE

#define TYPE__DOUBLE   3

Definition at line 19 of file f_find_peaks.c.

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

◆ TYPE__FLOAT

#define TYPE__FLOAT   2

Definition at line 18 of file f_find_peaks.c.

Referenced by go4fit_find_peaks().

◆ TYPE__INT

#define TYPE__INT   1

Definition at line 17 of file f_find_peaks.c.

Referenced by go4fit_find_peaks().

◆ TYPE__SHORT

#define TYPE__SHORT   0

Definition at line 16 of file f_find_peaks.c.

Referenced by go4fit_find_peaks().

◆ UP

#define UP   1

Definition at line 21 of file f_find_peaks.c.

Referenced by go4fit_find_peaks().

◆ WIDTH

#define WIDTH   8

Function Documentation

◆ go4fit_find_peaks()

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 )

◆ go4fit_position()

int go4fit_position ( int l_len,
double * pa_data,
double * pr_pos,
double * pr_sig,
double * pr_sum )

Definition at line 341 of file f_find_peaks.c.

Referenced by go4fit_find_peaks().