MayaFlux
0.1.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches
◆
string_to_method()
template<ComputeData InputType = std::vector<Kakshya::DataVariant>, ComputeData OutputType = Eigen::VectorXd>
static
EnergyMethod
MayaFlux::Yantra::EnergyAnalyzer
< InputType, OutputType >::string_to_method
(
const std::string &
str
)
inline
static
Convert string to energy method enum.
Parameters
str
String representation
Returns
EnergyMethod value
Definition at line
269
of file
EnergyAnalyzer.hpp
.
270
{
271
if
(str ==
"default"
)
272
return
EnergyMethod::RMS
;
273
return
Utils::string_to_enum_or_throw_case_insensitive<EnergyMethod>(str,
"EnergyMethod"
);
274
}
MayaFlux::Yantra::EnergyMethod::RMS
@ RMS
Root Mean Square energy.
MayaFlux
Yantra
EnergyAnalyzer
Generated by
1.9.8