The Python code for computing FTLE using the noisy and sparse trajectories are given here. The functions HyperbolicLCS_2D and HyperbolicLCS_3D computes FTLE from sparse trajectories in 2D and 3D flow data. To understand the mathematical background or additional information on the methods discussed here, see the accompanying manuscript [1].

[1] Mowlavi, S., Serra, M., Maiorino, E., & Mahadevan, L. (2022). Detecting Lagrangian coherent structures from sparse and noisy trajectory data. Journal of Fluid Mechanics, 948, A4.


Copyright © 2025 Sreejith Santhosh & Mattia Serra