profiles.density.VikhlininDensityProfile.from_dict#

classmethod VikhlininDensityProfile.from_dict(data)#

Reconstruct a profile instance from a dictionary.

Parameters:

data (dict) – Dictionary containing parameters in the format produced by to_dict().

Returns:

A new instance of the profile with the specified parameters.

Return type:

BaseProfile

Raises:

ValueError – If required keys are missing or invalid parameter names are provided.