pedpy.data.trajectory_data module#

Module handling the trajectory data of the analysis.

class pedpy.data.trajectory_data.TrajectoryData(data: DataFrame, frame_rate: float, file: Path)[source]#

Bases: object

Trajectory Data.

Wrapper around the trajectory data, holds the data as a data frame.

Note

The coordinate data is stored in meter (‘m’)!

Parameters
  • data (DataFrame) –

  • frame_rate (float) –

  • file (Path) –

data#

data frame containing the actual data in the form: “ID”, “frame”, “X”, “Y”, “Z”

Type

pd.DataFrame

frame_rate#

frame rate of the trajectory file

Type

float

file#

file from which is trajectories was read

Type

pothlib.Path

data: DataFrame#
file: Path#
frame_rate: float#
class pedpy.data.trajectory_data.TrajectoryUnit(value=<no_arg>, names=None, module=None, type=None, start=1, boundary=None)[source]#

Bases: Enum

Identifier of the unit of the trajectory coordinates.

CENTIMETER = 100#
METER = 1#