DiscretizedTrajectory.place_and_point_to_body

giant.photometry.planning:

DiscretizedTrajectory.place_and_point_to_body(date)[source]

This method computes places the scene at the input date, changes the origin of the scene to the camera, and points the camera directly at the target at target_index.

This method requires that the scene contains at least one target object and the position functions defining each object in the scene has the same observer.

Parameters:

date (datetime) – the datetime in which to place the scene

Return type:

None