Glossary
One term per thing, in the code as in the documentation. Quantities are in SI units (m, s, m/s, m/s²) unless a column or parameter says otherwise; the documented exceptions are listed at the end.
| term | meaning | unit | in trajlab |
|---|---|---|---|
| subject | the vehicle a row or an event belongs to | – | id |
| leader | the vehicle directly ahead of the subject in the same lane (or in the lane named by the position, e.g. the target lane) | – | id_front; *_front_* columns of the event table |
| follower | the vehicle directly behind the subject in the same lane (or in the named lane) | – | id_rear; *_rear_* columns of the event table |
| spacing | distance between the reference points of subject and leader along the direction of travel (gross; center to center in the pipeline output) | m | headway_<position> of the pipeline output (see exceptions) |
| gap | net distance: spacing minus half the lengths of both vehicles (bumper to bumper); can be negative for overlapping vehicles | m | clearance_<position> |
| time gap | gap divided by the speed of the rear vehicle | s | not an output column; computed from clearance_<position> and speed |
| headway | time between the passage of the same point by the fronts of leader and subject (gross; spacing divided by the speed of the rear vehicle) | s | used in the literature sense only in new code; see exceptions |
| lane change | a lateral maneuver that ends in another lane | – | event_type == "lane_change", is_changing_lane |
| excursion | a lateral maneuver that does not end in another lane (aborted lane change, large movement within the lane); the lane does not change | – | event_type == "lateral_excursion", is_lateral_excursion |
| merge | a lane change from an acceleration lane (on-ramp, lane 0) into the main carriageway (lane 1) | – | lane change with lane_before == 0 and lane_after == 1 inside an on_ramp or acceleration zone |
| reference line | the line along the road onto which positions are projected; s (longitudinal) and d (lateral) are measured along and across it |
m | pos_lon, pos_lat |
| camera view | the part of the section covered by one camera; the perspective offset of tall vehicles is estimated per view | – | perspective.view_* options |
Terms of the processing
The words used in the descriptions of the processing steps and datasets. The method and the pipeline steps give the details.
| term | meaning | in trajlab |
|---|---|---|
| Frenet coordinates (road coordinates) | positions measured along the reference line (pos_lon, the distance along the road in the direction of travel) and across it (pos_lat, to the left of it), instead of map coordinates |
pos_lon, pos_lat [m]; step 01 |
| fragment | one piece of a vehicle's trajectory under one ID; camera-based tracking loses a vehicle behind a bridge or a truck, or at a camera hand-over, and finds it again under a new ID | rows with one id before stitching |
| stitching | joining the fragments of one vehicle into one track: the end (tail) of a fragment is matched one-to-one to the start (head) of a later fragment; linked fragments get one common ID, all rows are kept | step 04 |
| camera hand-over | the place where the view of one camera ends and the next begins; tracks are often cut there into fragments, and positions can jump | step 04 |
| settling (at fragment ends) | in the first and last 1–2 s of a fragment the provider's lateral position moves faster than in its middle, an artifact of the camera entry and exit; a label change there is mostly not a lane change | edge_settling (I-24 MOTION) |
| data-quality gate | a check of whether an event has every vehicle it needs, observed long enough and without gaps; the share of events that pass shows whether a dataset supports an event-level analysis | trajlab.analysis.quality.gate |
| HMM (hidden Markov model) | a statistical model of a sequence of hidden states, here the lane of a vehicle over time, estimated from noisy observations, here the lateral positions; it keeps the lane consistent over time | lanes.assignment_method = "hmm"; step 09 |
| GMM (Gaussian mixture model) | a mixture of normal distributions fitted to the lateral positions, one component per lane; its means are the lane centers. Restricted: equally spaced lane centers with one shared spread. Rolling: fitted in windows that move along the road | lanes.gmm_model; step 06 |
| auxiliary lane | an on- or off-ramp, acceleration or deceleration lane next to the main lanes; only inside the zones configured for the site | lane 0; lanes.auxiliary_lane_zones |
| flicker | lane label changes that are undone within 2 s (A → B, then B → A), typical of point-wise labels near a lane boundary | label_flicker, consistency_metrics |
| vehicle-km | the distance driven by all vehicles together, in kilometers; counts per vehicle-km do not depend on the length of the recording | vehicle_km |
| near-nadir, oblique | a camera looking (almost) straight down, as a drone above the road, or at an angle, as a camera at the roadside; an oblique view shifts tall vehicles sideways | presets drone_topdown, roadside_camera |
| SEWMA | symmetric exponentially weighted moving average, the smoothing of the lateral speed in the lane-change detector (Thiemann, Treiber & Kesting 2008) | step 07 |
Documented exceptions
- Speed in km/h. The speed columns of the pipeline output (
speed,rel_speed_<position>,speed_start/speed_lc/speed_end) are in km/h. Changing them would change the output format; at the earliest with 3.0. headway_<position>is a spacing,clearance_<position>a gap. The neighbor columns of the pipeline output name the center-to-center distance "headway" and the net distance "clearance" (both in m), after the "space headway" of the NGSIM data, a common name for the center-to-center distance. New code uses spacing, gap and time gap as defined above; the output columns keep their names until 3.0.