yt.analysis_modules.halo_finding.halo_objects.
LoadTextHaloes
(ds, filename, columns, comment='#')[source]¶Load a text file of halos.
Like LoadHaloes, but when all that is available is a plain text file. This assumes the text file has the 3-positions of halos along with a radius. The halo objects created are spheres.
Parameters: | fname : String
columns : dict
comment : String
|
---|
Examples
>>> ds = load("data0005")
>>> halos = LoadTextHaloes(ds, "list.txt",
{'x':0, 'y':1, 'z':2, 'r':3, 'm':4},
comment = ";")
>>> halos[0].supp['m']
3.28392048e14
Attributes
Methods