Anomaly detection based on the estimation of speed and flow mapping for controlled Lagrangian particles