first_local_extrema.cpp File Reference

Find the first local extrema in the vector of doubles. More...

#include "postprocess.h"
#include <gsl/gsl_statistics.h>
#include <string>
Include dependency graph for first_local_extrema.cpp:

Functions

int first_local_extrema (double *data, int num_iter, int frame_start)
 Find the first local extrema in the vector of doubles.
int opti_first_extrema (vector< vector< double > > &datapoints, int num_markers)
int first_local_extrema_vec (vector< vector< double > >data, int index, int index_step)
 Find the first local extrema in the vector of doubles.

Detailed Description

Find the first local extrema in the vector of doubles.


Function Documentation

int first_local_extrema ( double *  data,
int  num_iter,
int  frame_start 
)

Find the first local extrema in the vector of doubles.

Parameters:
[in]dataArray containing noise free version of data

Referenced by opti_first_extrema().

Here is the caller graph for this function:

int first_local_extrema_vec ( vector< vector< double > >  data,
int  index,
int  index_step 
)

Find the first local extrema in the vector of doubles.

Parameters:
[in]dataVector containing noise free version of data, along with timestamps in column 0 of the vector
[in]indexThe index of the column to be used to find extrema
[in]index_step

Referenced by sync_opti_active().

Here is the caller graph for this function:

int opti_first_extrema ( vector< vector< double > > &  datapoints,
int  num_markers 
)

References extract_data_point(), first_local_extrema(), and gsl_low_pass_filter_data().

Referenced by main(), and sync_opti_active().

Here is the call graph for this function:

Here is the caller graph for this function:

 All Data Structures Files Functions Variables Typedefs Defines