profiles.density.KingDensityProfile.from_json#

classmethod KingDensityProfile.from_json(filepath: str) BaseProfile#

Reconstruct a profile from a JSON file.

Parameters:

filepath (str) – Path to the JSON file.

Returns:

Reconstructed profile instance.

Return type:

BaseProfile