profiles.density.DoublePowerLawDensityProfile.from_yaml# classmethod DoublePowerLawDensityProfile.from_yaml(filepath: str) → BaseProfile# Reconstruct a profile from a YAML file. Parameters: filepath (str) – Path to the YAML file. Returns: Reconstructed profile instance. Return type: BaseProfile