MayaFlux 0.4.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 438 of file StatisticalAnalyzer.hpp.

439 {
440 if (name == "method")
441 return std::any(method_to_string(m_method));
442 if (name == "window_size")
443 return std::any(m_window_size);
444 if (name == "hop_size")
445 return std::any(m_hop_size);
446 if (name == "classification_enabled")
447 return std::any(m_classification_enabled);
448 if (name == "percentile")
449 return std::any(m_percentile_value);
450 if (name == "sample_variance")
451 return std::any(m_sample_variance);
452
454 }
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, and MayaFlux::Yantra::StatisticalAnalyzer< InputType, OutputType >::method_to_string().

+ Here is the call graph for this function: