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