Text this: Frequency based hysteresis compensation for piezoelectric tube scanner using artificial neural networks