profiles.density.SingularIsothermalDensityProfile.from_yaml# classmethod SingularIsothermalDensityProfile.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