aspsim.room.trajectory.TrajectoryCollection

class aspsim.room.trajectory.TrajectoryCollection(trajectories)

Bases: Trajectory

A class for combining multiple trajectories into one, in the case where you want to have multiple moving objects in the same array.

Parameters:

trajectories (list of Trajectory objects)

__init__(trajectories)
Parameters:

trajectories (list of Trajectory objects)

Methods

__init__(trajectories)

current_pos(time_idx)

plot(ax, symbol, name, tot_samples)

current_pos(time_idx)
Parameters:

time_idx (int) – time index in samples

Returns:

pos – position at time time_idx

Return type:

array of shape (1,3)