grss.prop.prop_utils.partials_to_ellipse

grss.prop.prop_utils.partials_to_ellipse#

grss.prop.prop_utils.partials_to_ellipse(ca, au2units, n_std, print_ellipse_params, units, analytic_info)#

Convert the B-plane partial derivatives to a mean and covariance.

Parameters:
  • ca (grss.libgrss.CloseApproachParameters) – CloseApproachParameters object with computed partial derivatives

  • au2units (float) – AU to units conversion factor

  • n_std (float) – Number of standard deviations to plot

  • print_ellipse_params (bool) – True to print the ellipse parameters, False to not print

  • units (str) – units of the plot

  • analytic_info (tuple) – Tuple of analytic B-plane information (just initial covariance for now)

Returns:

  • mean (np.ndarray) – mean of the data

  • ellipse (np.ndarray) – ellipse points