com1DFA.particleTools.getTrackedParticles

getTrackedParticles(particlesList, particles2Track)[source]

Track particles along time given the parentID of the particles to track

Parameters
  • particlesList (list) – list of particles dictionaries (with the ‘parentID’ array)

  • particles2Track (numpy array) – array with the parentID of the particles to track

Returns

  • particlesList (list) – list of particles dictionaries updated with the ‘trackedParticles’ array (in the array, the ones correspond to the particles that are tracked)

  • nPartTracked (int) – total number of tracked particles