UnresolvedCenterFinding.estimate

giant.relative_opnav.estimators.unresolved:

UnresolvedCenterFinding.estimate(image, include_targets=None)[source]

This method extracts the observed sub-pixel centers for each requested target object from the supplied image.

The method works by first predicting the center of the target objects, then searching for bright spots around the predicted centers, and finally identifying the subpixel centers of the bright spots. For a more in depth discussion refer to the :class:.UnresolvedCenterFinding` documentation. The results are stored into the computed_bearings, observed_bearings, and details attributes. If a target object cannot be matched to an observed bright spot then a warning is printed and NaN values are stored.

Warning

Before calling this method be sure that the scene has been updated to correspond to the correct image time. This method does not update the scene automatically.

Parameters:
  • image (OpNavImage) – The image the unresolved algorithm should be applied to as an OpNavImage

  • include_targets (List[bool] | None) – An argument specifying which targets should be processed for this image. If None then all are processed (no, the irony is not lost on me…)