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

◆ get_analysis_parameter()

template<ComputeData InputType = std::vector<Kakshya::DataVariant>, ComputeData OutputType = Eigen::VectorXd>
std::any MayaFlux::Yantra::StatisticalAnalyzer< InputType, OutputType >::get_analysis_parameter ( const std::string &  name) const
inlineoverrideprotectedvirtual

Get analysis-specific parameter.

Reimplemented from MayaFlux::Yantra::UniversalAnalyzer< InputType, OutputType >.

Definition at line 482 of file StatisticalAnalyzer.hpp.

483 {
484 if (name == "method")
485 return std::any(method_to_string(m_method));
486 if (name == "window_size")
487 return std::any(m_window_size);
488 if (name == "hop_size")
489 return std::any(m_hop_size);
490 if (name == "classification_enabled")
491 return std::any(m_classification_enabled);
492 if (name == "percentile")
493 return std::any(m_percentile_value);
494 if (name == "sample_variance")
495 return std::any(m_sample_variance);
496
498 }
std::string name
Definition VKDevice.cpp:123
static std::string method_to_string(StatisticalMethod method)
Convert statistical method enum to string.
virtual std::any get_analysis_parameter(const std::string &name) const

References MayaFlux::Yantra::UniversalAnalyzer< InputType, OutputType >::get_analysis_parameter(), MayaFlux::Yantra::StatisticalAnalyzer< InputType, OutputType >::m_classification_enabled, MayaFlux::Yantra::StatisticalAnalyzer< InputType, OutputType >::m_hop_size, MayaFlux::Yantra::StatisticalAnalyzer< InputType, OutputType >::m_method, MayaFlux::Yantra::StatisticalAnalyzer< InputType, OutputType >::m_percentile_value, MayaFlux::Yantra::StatisticalAnalyzer< InputType, OutputType >::m_sample_variance, MayaFlux::Yantra::StatisticalAnalyzer< InputType, OutputType >::m_window_size, MayaFlux::Yantra::StatisticalAnalyzer< InputType, OutputType >::method_to_string(), and name.

+ Here is the call graph for this function: