matchTrajToParticles: Match trajectories to related particles.
Description
Match trajectories to the related particles in the TrajectorySet and
ParticleSet objects. This function returns a new ParticleSet
object that contains as additional column the trajectory ID that the particular
particle was assigned to. Used also by other routines, such as snap
Usage
matchTrajToParticles(particleset, trajectoryset)
Arguments
particleset
A ParticleSet object
trajectoryset
A TrajectorySet object coupled to the particleset
Value
A ParticleSet object with an additional column with the trajectory
IDs