pynbody.analysis.ramses_util.get_tipsy_units

pynbody.analysis.ramses_util.get_tipsy_units#

pynbody.analysis.ramses_util.get_tipsy_units(sim)[source]#

Returns snapshot sim units in the pkdgrav/gasoline unit system. This is probably not a function to be called by users, but it is used instead by other routines for file conversion.

Input:

sim: RAMSES simulation snapshot

Return values:

lenunit, massunit, timeunit : tuple specifying the units in kpc, Msol, and Gyr