def METHOD_NAME(
    raw_dict: Dict[Any, Any], cls: Type[PerturbationDescription]
) -> PerturbationDescription:
    """Convert a raw dictionary to a PerturbationDescription.
    This uses the name field to look up the correct PerturbationDescription subclass to output.
    """
    structure = perturbation_name_to_base_structure_fn.get(
        raw_dict["name"], base_perturbation_description_structure_fn
    )
    return structure(raw_dict, cls)