yt.data_objects.derived_quantities.
BulkVelocity
(data_source)[source]¶Calculates the bulk velocity, using gas and/or particles.
The bulk velocity is the mass-weighted mean velocity.
Parameters: | use_gas : bool
use_particles : bool
|
---|
Examples
>>> ds = load("IsolatedGalaxy/galaxy0030/galaxy0030")
>>> ad = ds.all_data()
>>> print ad.quantities.bulk_velocity()
Attributes
Methods