The traffic library is based on three main core classes for handling:
- aircraft trajectories are accessible through traffic.core.Flight;
- collections of aircraft trajectories are traffic.core.Traffic;
- airspaces and sectors are represented with traffic.core.Airspace.
Flight and Traffic are wrappers around pandas DataFrames with relevant efficiently implemented methods for trajectory analysis. Airspaces take advantage of shapely Geometries for geometrical analysis.