pynbody.analysis.ramses_util.convert_to_tipsy_simple

pynbody.analysis.ramses_util.convert_to_tipsy_simple#

pynbody.analysis.ramses_util.convert_to_tipsy_simple(output, halo=0, filt=None)[source]#

Convert RAMSES output to tipsy format readable by e.g. pkdgrav. This is a quick and dirty conversion, meant to be used for quick visualization or other simple post processing. Importantly, none of the cosmologically-relevant information is carried forward. For a more complete conversion for e.g. running through pkdgrav or Amiga Halo Finder, see convert_to_tipsy_fullbox().

The snapshot is put into units where G=1, time unit = 1 Gyr and mass unit = 2.222286e5 Msol.

Input:

output : path to RAMSES output directory

Optional Keywords:

filt : a filter to apply to the box before writing out the tipsy file

halo : which hop halo to center on – default = 0