yt_astro_analysis.halo_analysis.halo_catalog.halo_catalog.HaloCatalog.load

HaloCatalog.load(njobs='auto', dynamic=False)

Load a previously created halo catalog.

This is a wrapper around the main _run function with default arguments tuned for reloading halo catalogs and associated data. By default, halo objects are saved and the halo catalog is not written, opposite to the behavior of the create function.

Parameters:
  • njobs (int) – The number of jobs over which to divide halo analysis. If set to “auto”, use a task queue if total number of processors is an odd number and divide jobs evenly if an even number. Default: “auto”

  • dynamic (int) – If False, halo analysis is divided evenly between all available processors. If True, parallelism is performed via a task queue. If njobs is set to “auto”, behavior is controlled in the way described above. Default: False

See also

create