I've been wondering how to measure harmonic distortion in the lab. I got a hint from one source on the web. Is it possible to use a variable bandpass filter to determine the amplitude of the harmonics? I mean, say I had a filter that could vary the frequency by a factor of 4. Say I could tune to 1kHz then 2kHz 3kHz and 4 kHz. Would I be able to calculate the THD from this?