estimate()#

NonuniformFiniteDifferencer.estimate(states, inputs=None)[source]#

Estimate the first time derivatives of the states using second-order finite differences.

Parameters:
states(r, k) ndarray

State snapshots, either full or (preferably) reduced.

inputs(m, k) ndarray or None

Inputs corresponding to the state snapshots, if applicable.

Returns:
_states(r, k) ndarray

State snapshots.

ddts(r, k) ndarray

First time derivatives corresponding to _states.

_inputs(m, k) ndarray or None

Inputs corresponding to _states, if applicable. Only returned if inputs is provided.