com1DFA.DFAtools.removePart

removePart(particles, mask, nRemove)[source]

remove given particles

Parameters
  • particles (dict) – particles dictionary

  • mask (1D numpy array) – particles to keep

  • nRemove (int) – number of particles removed

Returns

particles – particles dictionary

Return type

dict