#include <stdlib.h>
Go to the source code of this file.
Defines | |
#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) |
#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.
#define LOW 2 |
#define PRINT 0 |
Definition at line 24 of file f_find_peaks.c.
#define TYPE__DOUBLE 3 |
Definition at line 19 of file f_find_peaks.c.
Referenced by f_find_peaks(), go4fit_find_peaks(), and TGo4FitPeakFinder::HansEsselPeakFinder().
#define TYPE__FLOAT 2 |
Definition at line 18 of file f_find_peaks.c.
Referenced by f_find_peaks(), and go4fit_find_peaks().
#define TYPE__INT 1 |
Definition at line 17 of file f_find_peaks.c.
Referenced by f_find_peaks(), and go4fit_find_peaks().
#define TYPE__SHORT 0 |
Definition at line 16 of file f_find_peaks.c.
Referenced by f_find_peaks(), and go4fit_find_peaks().
#define UP 1 |
Definition at line 21 of file f_find_peaks.c.
Referenced by go4fit_find_peaks().
#define WIDTH 8 |
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 | |||
) |
Definition at line 28 of file f_find_peaks.c.
References DOWN, go4fit_position(), sqrt(), TYPE__DOUBLE, TYPE__FLOAT, TYPE__INT, TYPE__SHORT, and UP.
Referenced by TGo4FitPeakFinder::HansEsselPeakFinder().
int go4fit_position | ( | int | l_len, | |
double * | pa_data, | |||
double * | pr_pos, | |||
double * | pr_sig, | |||
double * | pr_sum | |||
) |
Definition at line 300 of file f_find_peaks.c.
References sqrt().
Referenced by go4fit_find_peaks().