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

Go to the source code of this file.

Macros

#define UP   1
 
#define DOWN   -1
 
#define HORI   0
 
#define PRINT   0
 
#define LOW   2
 
#define WIDTH   8
 

Functions

int f_position (int l_len, double *pa_data, double *pr_pos, double *pr_sig, double *pr_sum)
 
void f_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 *plMaxima, int *plWidth, double *pdIntegral)
 

Macro Definition Documentation

#define DOWN   -1

Definition at line 47 of file f_find_peaks.c.

Referenced by f_find_peaks().

#define HORI   0

Definition at line 48 of file f_find_peaks.c.

Referenced by f_find_peaks().

#define LOW   2
#define PRINT   0

Definition at line 49 of file f_find_peaks.c.

Referenced by f_find_peaks().

#define UP   1

Definition at line 46 of file f_find_peaks.c.

Referenced by f_find_peaks().

#define WIDTH   8

Function Documentation

void f_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 *  plMaxima,
int *  plWidth,
double *  pdIntegral 
)

Definition at line 112 of file f_find_peaks.c.

References DOWN, f_position(), HORI, PRINT, TYPE__DOUBLE, TYPE__FLOAT, TYPE__INT, TYPE__SHORT, and UP.

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

Definition at line 52 of file f_find_peaks.c.

Referenced by f_find_peaks().