yt.analysis_modules.halo_analysis.halo_callbacks.load_profiles

yt.analysis_modules.halo_analysis.halo_callbacks.load_profiles(halo, storage='profiles', fields=None, filename=None, output_dir='.')[source]

Load profile data from disk.

Parameters:

halo : Halo object

The Halo object to be provided by the HaloCatalog.

storage : string

Name of the dictionary attribute to store profile data. Default: “profiles”

fields : string or list of strings

The fields to be loaded. If None, all fields present will be loaded. Default : None

filename : string

The name of the file to be loaded. The final filename will be “<filename>_<id>.h5”. If None, filename is set to the value given by the storage keyword. Default: None

output_dir : string

Name of directory where profile data will be read. The full path will be the output_dir of the halo catalog concatenated with this directory. Default : ”.”