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 the track (in degrees), groundspeed (in knots) and vertical_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.