|
MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
|
| std::vector< double > MayaFlux::Yantra::compute_power_energy | ( | std::span< const double > | data, |
| const size_t | num_windows, | ||
| const uint32_t | m_hop_size, | ||
| const uint32_t | m_window_size | ||
| ) |
Compute power energy using zero-copy processing.
This function computes the power energy for a given data span. It calculates the sum of squares of samples in each window.
| data | Input data span |
| num_windows | Number of windows to process |
| m_hop_size | Hop size for windowing |
| m_window_size | Size of each window |
Definition at line 66 of file AnalysisHelper.cpp.
References compute_power_energy().
Referenced by MayaFlux::Yantra::EnergyAnalyzer< InputType, OutputType >::compute_energy_values(), and compute_power_energy().
Here is the call graph for this function:
Here is the caller graph for this function: