Trajectory#

A Trajectory specialized for trajectory data representing the evolution of a traffic participant. A trajectory is a collection of :py:class:`Pose`s.

Inheritance diagram of tasi.Trajectory

Serialization / IO / conversion#

Trajectory.from_csv(file[, indices])

Read a dictionary-alike object from a .csv file as a pandas DataFrame.

Trajectory.as_geo([position, aggregate])

Convert the trajectory to a geometric representation

Indexing#

Trajectory.att(timestamps[, columns])

Filtering#

Trajectory.during(since, until[, include_until])

Select rows within a specific time range (include "since", exclude "until").

Analysis#

Attributes#

Trajectory.attributes

Returns the dataset attributes

Trajectory.id

Returns the id in the pose

Trajectory.interval

Returns the time interval this object spans

Trajectory.timestamps

The unique timestamps in the dataframe

Trajectory.smos

Provides access to SMoS metric estimation methods

Note

All pandas DataFrame methods are also available.