pisces.models.galaxy_clusters.spherical.MagnetizedSphericalGalaxyClusterModel.get_hook_name#

static MagnetizedSphericalGalaxyClusterModel.get_hook_name(hook_cls: type) str#

Return the symbolic name for a given hook class.

If _<HookClassName>_NAME is defined, it is used; otherwise the class name is returned.

Parameters:

hook_cls (type) – The hook class.

Returns:

The symbolic name or class name.

Return type:

str