MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ classify_energy_level()

template<ComputeData InputType = std::vector<Kakshya::DataVariant>, ComputeData OutputType = Eigen::VectorXd>
EnergyLevel MayaFlux::Yantra::EnergyAnalyzer< InputType, OutputType >::classify_energy_level ( double  energy) const
inline

Classify energy value into qualitative level.

Parameters
energyEnergy value to classify
Returns
EnergyLevel classification

Definition at line 236 of file EnergyAnalyzer.hpp.

References MayaFlux::Yantra::LOUD, MayaFlux::Yantra::EnergyAnalyzer< InputType, OutputType >::m_loud_threshold, MayaFlux::Yantra::EnergyAnalyzer< InputType, OutputType >::m_moderate_threshold, MayaFlux::Yantra::EnergyAnalyzer< InputType, OutputType >::m_quiet_threshold, MayaFlux::Yantra::EnergyAnalyzer< InputType, OutputType >::m_silent_threshold, MayaFlux::Yantra::MODERATE, MayaFlux::Yantra::PEAK, MayaFlux::Yantra::QUIET, and MayaFlux::Yantra::SILENT.

Referenced by MayaFlux::Yantra::EnergyAnalyzer< InputType, OutputType >::create_analysis_result().

+ Here is the caller graph for this function: