profiles.density.FlaredDiskDensityProfile.from_dict#
- classmethod FlaredDiskDensityProfile.from_dict(data)#
Reconstruct a profile instance from a dictionary.
- Parameters:
data (
dict
) – Dictionary containingparameters
in the format produced byto_dict()
.- Returns:
A new instance of the profile with the specified parameters.
- Return type:
- Raises:
ValueError – If required keys are missing or invalid parameter names are provided.