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

◆ apply_window_channels()

MAYAFLUX_API void MayaFlux::apply_window_channels ( std::vector< Kakshya::DataVariant > &  channels,
const std::string &  window_type = "hann" 
)

Apply window function to multi-channel data (in-place)

Parameters
channelsVector of channel data (modified in-place)
window_type"hann", "hamming", "blackman", "rectangular" (default: "hann")

Definition at line 894 of file Yantra.cpp.

895{
896 for (auto& channel : channels) {
897 apply_window(channel, window_type);
898 }
899}
void apply_window(std::vector< double > &data, const std::string &window_type)
Apply window function to single-channel data (in-place)
Definition Yantra.cpp:864

References apply_window().

+ Here is the call graph for this function: