|
MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
|
| std::vector< double > MayaFlux::Yantra::compute_spectral_energy | ( | std::span< const double > | data, |
| const size_t | num_windows, | ||
| const uint32_t | hop_size, | ||
| const uint32_t | window_size | ||
| ) |
Compute spectral energy using FFT-based analysis.
This function computes the spectral energy for a given data span using FFT. It calculates the magnitude spectrum and sums the energy across frequency bins.
| 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 135 of file AnalysisHelper.cpp.
References compute_spectral_energy().
Referenced by MayaFlux::Yantra::EnergyAnalyzer< InputType, OutputType >::compute_energy_values(), and compute_spectral_energy().
Here is the call graph for this function:
Here is the caller graph for this function: