Skip to main content

peak_error_db

Function peak_error_db 

Source
pub fn peak_error_db(wdf: &[f64], reference: &[f64]) -> f64
Expand description

Compute peak absolute error in dB relative to reference peak.

error_db = 20 * log10(max|wdf - ref| / max|ref|)