There are many examples in science in which a dynamical system, usually presented as a system of differential equations, is presented and claimed to be derived "empirically". I believe the heat equation is one well-known example, but the one I'm really interested in is the Hodgkin-Huxley neuron model, which is made up of four coupled, nonlinear ODEs that are not at all obvious.
Is there a field of study or something that has general techniques for fitting dynamical system equations to data? Even just techniques for exploring some of the structures, like specific types of nonlinearity or discontinuities would be handy.