HART  0.2.0
High level Audio Regression and Testing
Loading...
Searching...
No Matches
hart_thd.hpp File Reference
#include <complex>
#include <cmath>
#include "hart_accurate_sum.hpp"
#include "hart_exceptions.hpp"
#include "hart_utils.hpp"
Include dependency graph for hart_thd.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  ExperimentSetup
 A tuned setup for optimal THD measurement. More...
 
class  ExperimentSetupTuner
 Configures and tunes an experiment setup for accurate THD measurement. More...
 

Namespaces

namespace  hart
 
namespace  hart::THD
 

Functions

MetricQuery< double > thd (const Spectrum &spectrum, THD::ExperimentSetup experimentSetup)
 Calculates the total harmonic distortion (THD) of a spectrum.