MayaFlux
0.4.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches
◆
validate_window_parameters()
template<ComputeData InputType = std::vector<Kakshya::DataVariant>, ComputeData OutputType = Eigen::VectorXd>
void
MayaFlux::Yantra::StatisticalAnalyzer
< InputType, OutputType >::validate_window_parameters
(
)
const
inline
private
Validate window parameters.
Definition at line
484
of file
StatisticalAnalyzer.hpp
.
485
{
486
if
(
m_window_size
== 0 ||
m_hop_size
== 0) {
487
error<std::invalid_argument>(
Journal::Component::Yantra
,
Journal::Context::ComputeMatrix
, std::source_location::current(),
"Window size and hop size must be greater than 0"
);
488
}
489
if
(
m_hop_size
>
m_window_size
) {
490
error<std::invalid_argument>(
Journal::Component::Yantra
,
Journal::Context::ComputeMatrix
, std::source_location::current(),
"Hop size should not exceed window size"
);
491
}
492
}
MayaFlux::Yantra::StatisticalAnalyzer::m_window_size
uint32_t m_window_size
Definition
StatisticalAnalyzer.hpp:469
MayaFlux::Yantra::StatisticalAnalyzer::m_hop_size
uint32_t m_hop_size
Definition
StatisticalAnalyzer.hpp:470
MayaFlux::Journal::Context::ComputeMatrix
@ ComputeMatrix
Compute operations (Yantra - algorithms, matrices, DSP)
MayaFlux::Journal::Component::Yantra
@ Yantra
DSP algorithms, computational units, matrix operations, Grammar.
MayaFlux
Yantra
StatisticalAnalyzer
Generated by
1.9.8