Lyapunov-like functional; data sampling