fiesta.arepo.ArepoCubicGrid.get_ndensity#

ArepoCubicGrid.get_ndensity(unit=Unit('1 / cm3'))[source]#

Returns the number density of the grid.

Parameters:

unit (Unit, optional) – Unit to output the result in. Default value is u.cm**-3.