Text this: Sparse identification of Lagrangian for nonlinear dynamical systems via proximal gradient method