|
MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
|
| std::vector< double > MayaFlux::Yantra::compute_peak_energy | ( | std::span< const double > | data, |
| const uint32_t | num_windows, | ||
| const uint32_t | hop_size, | ||
| const uint32_t | window_size | ||
| ) |
Compute peak energy using zero-copy processing.
This function computes the peak amplitude for a given data span. It finds the maximum absolute value in each window.
| data | Input data span |
| num_windows | Number of windows to process |
| hop_size | Hop size for windowing |
| window_size | Size of each window |
Definition at line 89 of file AnalysisHelper.cpp.
References compute_peak_energy().
Referenced by MayaFlux::Yantra::EnergyAnalyzer< InputType, OutputType >::compute_energy_values(), and compute_peak_energy().
Here is the call graph for this function:
Here is the caller graph for this function: