Coverage.compute_velocities¶
giant.coverage.coverage_class
:
- Coverage.compute_velocities(velocity_function)[source]¶
This method uses a given velocity function for the camera to compute the velocity and range of the camera relative to each surface element in the target body-fixed frame.
- Parameters:
velocity_function (Callable) – A callable function that computes the relative velocity of each surface element to the camera in the camera frame
- Returns:
A tuple of the following data:
An array of camera velocities relative to each surface element in pixels/s,
An array of camera velocities relative to each surface element in km/s, and
An array of camera ranges relative to each surface element in km
- Return type:
Tuple[ndarray[tuple[Any, …], dtype[float64]], ndarray[tuple[Any, …], dtype[float64]], ndarray[tuple[Any, …], dtype[float64]]]