yt.data_objects.derived_quantities.
TotalMass
(data_source)[source]¶Calculates the total mass in gas and particles. Returns a tuple where the first part is total gas mass and the second part is total particle mass.
Examples
>>> ds = load("IsolatedGalaxy/galaxy0030/galaxy0030")
>>> ad = ds.all_data()
>>> print ad.quantities.total_mass()
Attributes
Methods