traffic.algorithms.prediction
- class traffic.algorithms.prediction.straightline.StraightLinePredict(forward=None, **kwargs)
Projects the trajectory in a straight line.
The method uses the last position of a trajectory (method
at()) and uses thetrack(in degrees),groundspeed(in knots) andvertical_rate(in ft/min) values to interpolate the trajectory in a straight line.The elements passed as kwargs as passed as is to the datetime.timedelta constructor.