Describir: Fast Method for Frequency Measurement by Rational Approximations with Application in Mechatronics