matlantis_features.features.md.post_features.rnemd_extension.fit_slope(x: ndarray, y: ndarray) Tuple[ndarray, ndarray]#

Perform the linear fitting for the post rNEMD analysis.

Parameters
  • x (np.ndarray) – X axis data.

  • y (np.ndarray) – Y axis data.

Returns

Result of the linear fitting (slope and slope std).

Return type

tuple[np.ndarray, np.ndarray]