Text this: Study of the anomaly detection on rail by a tachometer generator of a train