com1DFA.particleTools.findUniqueCellIndices
- findUniqueCellIndices(particlesTimeArrays)[source]
find indices of all cells that are saved for each particle as the particle location was within that cell for the respective time step
- Parameters
particlesTimeArrays (dict) – dictionary with time series of properties of particles, keys: property each with a timeSteps x number of particles array
- Returns
xyIndAllUnique – array with 2 columns: column 1: X indices of all affected cells column 2: Y indices of all affected cells
- Return type
np.ndarray