Defines | Functions

MbsAPI/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.

Defines

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

Functions

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

Define 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.

#define LOW   2
#define PRINT   0

Definition at line 49 of file f_find_peaks.c.

#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 52 of file f_find_peaks.c.

References DOWN, f_position(), sqrt(), 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 288 of file f_find_peaks.c.

References sqrt().

Referenced by f_find_peaks().

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines