yt_astro_analysis.halo_analysis.halo_catalog.halo_callbacks.save_profiles

yt_astro_analysis.halo_analysis.halo_catalog.halo_callbacks.save_profiles(halo, storage='profiles', filename=None, output_dir='.')

Save profile data to disk.

Parameters:
  • halo (Halo object) – The Halo object to be provided by the HaloCatalog.

  • storage (string) – Name of the dictionary attribute containing the profile data to be written. Default: “profiles”

  • filename (string) – The name of the file to be written. 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 written. The full path will be the output_dir of the halo catalog concatenated with this directory. Default : “.”