Find the first local extrema in the vector of doubles. More...
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. |
Find the first local extrema in the vector of doubles.
int first_local_extrema | ( | double * | data, |
int | num_iter, | ||
int | frame_start | ||
) |
Find the first local extrema in the vector of doubles.
[in] | data | Array containing noise free version of data |
Referenced by opti_first_extrema().
int first_local_extrema_vec | ( | vector< vector< double > > | data, |
int | index, | ||
int | index_step | ||
) |
Find the first local extrema in the vector of doubles.
[in] | data | Vector containing noise free version of data, along with timestamps in column 0 of the vector |
[in] | index | The index of the column to be used to find extrema |
[in] | index_step |
Referenced by sync_opti_active().
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().