grss.prop.prop_utils.data_to_ellipse#
- grss.prop.prop_utils.data_to_ellipse(x_data, y_data, n_std, bplane_type, print_ellipse_params, units, sigma_points)#
Convert two sets of points to an ellipse.
- Parameters:
x_data (np.ndarray) – x-coordinates of the points
y_data (np.ndarray) – y-coordinates of the points
n_std (float, optional) – Number of standard deviations to plot
bplane_type (str) – type of B-plane
print_ellipse_params (bool, optional) – True to print the ellipse parameters, False to not print
units (str) – units of the plot
sigma_points (prop.SigmaPoints, optional) – SigmaPoints object for reconstructing mean and cov, by default None.
- Returns:
mean (np.ndarray) – mean of the data
ellipse (np.ndarray) – ellipse points