Q factor measurements, analog and digital 1