pisces.models.galaxy_clusters.spherical.SphericalGalaxyClusterModel.remove_profile#

SphericalGalaxyClusterModel.remove_profile(name: str)#

Remove an analytic profile from the model.

Deletes the profile from both memory and the HDF5 file.

Parameters:

name (str) – Name of the profile to remove.

Raises:

KeyError – If the profile does not exist.