RelativeOpNav.moment_algorithm_estimate

giant.relative_opnav.relnav_class:

RelativeOpNav.moment_algorithm_estimate(image_ind=None, include_targets=None)[source]

This method loops applies the moment_algorithm technique to image/target pairs.

This method does nothing to check if it makes sense to apply the moment algorithm technique to each pair, it just attempts to and if something fails then the results are recorded appropriately. If you are looking for something that will attempt to automatically choose the right technique to use for each image/target pair, see the auto_estimate() method instead.

The results from applying the moment_algorithm technique to each image/target pair are stored in the relative_position_results and moment_algorithm attributes. Finally, this will save fit information for each image/target pair to the :attr:`moment_algorithm_details attribute.

This method dispatches to the default_estimator() method which provides more details on what is happening.

Parameters:
  • image_ind (int | None) – An index specifying which image to process or None to indicate that all turned on images should be processed.

  • include_targets (List[bool] | None) – A list of booleans specifying which targets in the scene should be processed or None to indicate that all targets in the scene should be processed