def parse_header_entry(entry: str) -> dict:
    """Parses a header entry

    Args:
        entry (str): The header entry

    Returns:
        dict: The parsed entry (dict with keys: module, value, dimension, unit)
    """

    assert isinstance(entry, str), "entry must be a string"
    _categories = ["module", "value", "dimension", "unit"]
    _split_by_colon = entry.split(":")
    assert len(_split_by_colon) == 4, f"expected 4 colon-separated elements in entry"
    _dict = dict(zip(_categories, _split_by_colon))
    _dict["quantity"] = _dict["module"].split("_")[0] if "_" in _dict["module"] else ""
    _dict["method"] = _dict["module"].split("_")[1] if "_" in _dict["module"] else ""
    return _dict