|
MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
|
| std::vector< size_t > MayaFlux::Yantra::find_peak_positions | ( | std::span< const double > | data, |
| double | threshold = 0.0, |
||
| size_t | min_distance = 1 |
||
| ) |
Find actual peak positions in the signal.
Returns sample indices where local maxima occur above a threshold.
| data | Input data span |
| threshold | Minimum absolute value to be considered a peak |
| min_distance | Minimum samples between peaks (prevents clustering) |
Definition at line 237 of file AnalysisHelper.cpp.
References find_peak_positions().
Referenced by MayaFlux::Yantra::EnergyAnalyzer< InputType, OutputType >::create_analysis_result(), and find_peak_positions().
Here is the call graph for this function:
Here is the caller graph for this function: