yt_astro_analysis.halo_analysis.halo_catalog.halo_callbacks.sphere_field_max_recenter

yt_astro_analysis.halo_analysis.halo_catalog.halo_callbacks.sphere_field_max_recenter(halo, field)

Recenter the halo sphere on the location of the maximum of the given field.

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

  • field (string) – Field to be used for recentering.