estimate()#
- abstract DerivativeEstimatorTemplate.estimate(states, inputs=None)[source]#
- Estimate the first time derivatives of the states. - 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
- Subset of the 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- inputsis provided.
 
- Raises:
- opinf.errors.DimensionalityError
- If the - statesor- inputsare not aligned with the- time_domain.