Skip to main content

thd_error_db

Function thd_error_db 

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

Compute THD error between WDF and reference in dB.