Predict a particle’s position based on its spanwise coordinate in a channel.
This operates by binning particles according to their spanwise coordinate and averaging velocity, to make an instantaneous velocity profile.
Parameters: | bin_size : Size of bins, in units of spanwise length, over which to average
flow_axis : Name of coordinate along which particles are flowing (default “x”) minsamples : Minimum number of particles in a bin for its average
initial_profile_guess : Nx2 array (optional)
span : integer, default 1
|
---|
Notes
This currently only works for 2D data.
we borrow from the nearest valid bin.