Camera.update_attitude_from_function¶
- Camera.update_attitude_from_function()[source]¶
This method is used ot overwrite the attitude information stored in all images that are turned on with information from the
attitude_function.For each turned on image, the attitude function is queried with the
observation_dateattribute of the image and the resulting Rotation object is set as the newrotation_inertial_to_camerafor that image. The image attitude are updated regardless of their exposure type as long as they are turned on.When we update the attitude for an image using this method we set the
OpNavImage.pointing_post_fitflag toFalsefor the corresponding image.- Raises:
ValueError if the
attitude_functionis not callable.- Return type:
None