pisces.models.galaxy_clusters.spherical.SphericalGalaxyClusterModel.get_profile#

SphericalGalaxyClusterModel.get_profile(name: str) BaseProfile#

Retrieve an analytic profile by name.

Parameters:

name (str) – The name of the profile to retrieve.

Returns:

The requested profile object.

Return type:

BaseProfile

Raises:

KeyError – If the profile does not exist in the model.