Detector.update_attitude

giant.ufo.detector:

Detector.update_attitude()[source]

This method estimates the attitude for each turned on image in the camera.

This is done through the usual process. First the settings for the StellarOpNav.star_id`, ` StellarOpNav.attitude_estimator, and StellarOpNav.image_processing attributes are updated according to the settings saved in update_attitude_kwargs. Then the stars are identified using StellarOpNav.id_stars(). Finally, the attitude is estimated using StellarOpNav.estimate_attitude(). All of the results are stored into the sopnav attribute as usual.