fields.RadialRandomVelocityField#
- class fields.RadialRandomVelocityField(left_edge, right_edge, ddims, l_min, l_max, ctr1, profile1, padding=0.1, ctr2=None, profile2=None, ctr3=None, profile3=None, alpha=-3.6666666666666665, r_max=None, divergence_clean=False, prng=None)[source]#
TODO: Docstring
Methods
__init__
(left_edge, right_edge, ddims, ...)map_field_to_particles
(cluster_particles[, ...])Map the 3D field to a set of particles, creating new particle fields.
write_file
(filename[, overwrite, ...])Write the 3D field to a file.
Attributes
The units associated with the field.