Free Access Week-  Data Engineering + BI
Data engineering and BI courses are free!
Free AI Access Week from June 2-8

particles (version 0.2.4)

random_force: Modify the velocity randomly at each step

Description

This force applies a random velocity modification to all particles. The modification is uniformly distributed and bound be the parameters provided during initialisation.

Arguments

Training parameters

The following parameters defines the training of the force and can be passed along a call to wield()

  • xmin, xmax : The bounds of the modification in the horizontal direction

  • ymin, ymax : The bounds of the modification in the vertical direction

See Also

Other forces: center_force, collision_force, field_force, link_force, manybody_force, map_force, mean_force, reset_force, trap_force, x_force, y_force