OpticalBearingMeasurement.predict¶
- OpticalBearingMeasurement.predict(state)[source]¶
Predicts the pixel location of an observation for the given state of the target and the location of the camera at the time the target was observed.
This is computed by getting the relative state between the
state`
and theobserver_location
in the camera frame and then projecting the relative state usingCameraModel.project_onto_image()
.- Parameters
state (giant.ufo.dynamics.Dynamics.State) – The estimated state of the target at the time the target was observed
- Returns
The length 2 array giving the predicted pixel location of the target in the image
- Return type
Union[Sequence, numpy.ndarray, numbers.Real]