yt.analysis_modules.halo_analysis.halo_callbacks.
sphere_field_max_recenter
Recenter the halo sphere on the location of the maximum of the given field.
halo : Halo object
The Halo object to be provided by the HaloCatalog.
field : string
Field to be used for recentering.