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

◆ normalize() [2/2]

MAYAFLUX_API void MayaFlux::normalize ( std::vector< double > &  data,
double  target_peak = 1.0 
)

Normalize single-channel data to specified peak level (in-place)

Parameters
dataInput data (modified in-place)
target_peakTarget peak amplitude (default: 1.0)

Definition at line 565 of file Yantra.cpp.

566{
567 D::normalize(as_span(data), -target_peak, target_peak);
568}

References MayaFlux::Kinesis::Discrete::normalize().

Referenced by MayaFlux::Kinesis::Discrete::auto_correlate(), MayaFlux::Nexus::StateEncoder::encode(), normalize_channels(), and normalized_channels().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: