Discrete Total Harmonic Distortion