pisces.models.stars.polytropes.PolytropicStarModel.get_hook_description#

static PolytropicStarModel.get_hook_description(hook_cls: type) str#

Return the human-readable description for a given hook class.

If _<HookClassName>_DOC is defined, it is used; otherwise an empty string.

Parameters:

hook_cls (type) – The hook class.

Returns:

The description or an empty string.

Return type:

str