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 or AHF.

Warning

This is a quick and dirty conversion, meant to be used for 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.

Parameters:
  • output (str) – Path to RAMSES output directory

  • halo (int, optional) – Which halo to center on (default = 0)

  • filt (pynbody.filt, optional) – A filter to apply to the box before writing out the tipsy file