com1DFA.particleTools
Tools for handling particles, splitting, merging and tracking.
Functions
add particles |
|
Find particles within a circle arround a given point |
|
find closest neighbour |
|
Compute the new particle position due to splitting |
|
Compute the new particle potion due to splitting |
|
Compute the tangent vector to the surface |
|
Track particles along time given the parentID of the particles to track |
|
Get the desired properties for the tracked particles |
|
merge small particles |
|
Merge two particles dictionary |
|
Create particles in given cell |
|
Read pickles within a directory and return List of dicionaries read from pickle |
|
remove given particles |
|
reshape particlesList from one dict per time step with all particle properties for each particle, to one dict with an array of property values for all time steps for each particle shape: nx x ny; nx time steps, ny number of particles |
|
save a single dict to a pickle |
|
Save each particle dictionary from a list to a csv file; works also for one dictionary instead of list |
|
Split big particles |
|
Split big particles |