root mean square error - ksoltan/RoboFish GitHub Wiki

root_mean_square_error

Calculates the RMS error between a line defined by two points and the posture function restricted to the domain of the line.

Parameters:

        base_pt - Coordinates of initial point of line
         end_pt - Coordinates of terminal point of line
              t - Time at which to evaluate posture
   posture_func - Swimming model function

Returns:

  Root mean square error between line defined by two points and the
  specified posture, which is restricted to the domain of the line.

See Also:


mean_error