move_seeds

pysac.analysis.tube3D.tvtk_tube_functions.move_seeds(seeds, vfield, dt)[source] [edit on github]

Move a list of seeds based on a velocity field.

Warning

WARNING: THIS IS HARD CODED FOR GRID SIZE!

Parameters:

seeds: tvtk.PolyData

Old seed points

vfield: mayavi.sources.array_source.ArraySource object

The velocity field

dt: float

The time step betweent the current and the previous step.

Returns:

seeds_arr: ndarray

New Seed points