pisces.models.stars.polytropes.PolytropicStarModel.remove_profile#

PolytropicStarModel.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.