yt.analysis_modules.halo_finding.halo_objects.LoadTextHaloes.dump

LoadTextHaloes.dump(basename='HopAnalysis', ellipsoid_data=False)

Save the full halo data to disk.

This function will save the halo data in such a manner that it can be easily re-loaded later using GenericHaloFinder.load. This is similar in concept to pickling the data, but outputs the data in the already-established data formats. The simple halo data is written to a text file (e.g. “HopAnalysis.out”) using write_out(), and the particle data to hdf5 files (e.g. “HopAnalysis.h5”) using write_particle_lists().

Parameters:

basename : String

The base name for the files the data will be written to. Default = “HopAnalysis”.

ellipsoid_data : bool.

Whether to save the ellipsoidal information to the files. Default = False.

Examples

>>> halos.dump("MyHalos")